vflex and center layout [closed]

asked 2021-06-10 00:48:39 +0800

DanielPy gravatar image DanielPy

updated 2021-06-16 06:30:04 +0800

cor3000 gravatar image cor3000
6280 2 7

I had an issue when applying sapphire (or other themes) when using this combination of zul controls:

ZK CE Version:

ZK Sapphire:

Im tried same with 8.6.0 versions but the results are same.

<window border="normal" height="100%" apply="ParametersGrd">
  <caption id="capTitle" label="${c:l('ParametersGrd.gridTitle')}" 
           image="${dir}/imgs/32x32/adjust.png" />
      <listbox id="lbxGeneric" mold="paging" vflex="1" autopaging="true">

If im set it <center vflex="true">, then Listbox overflow the visible area to down side.

If im set it <center flex="true"> (flex is deprecated) it works.

delete flag offensive retag edit

The question has been closed for the following reason "the question is answered, right answer was accepted" by cor3000
close date 2021-06-16 06:35:35

3 Answers

Sort by ยป oldest newest most voted

answered 2021-06-11 19:43:26 +0800

DanielPy gravatar image DanielPy

I already found the root of the problem. I was using zkpringboot 2.3.1 as the parent of one of the projects to manage the ZK libraries, but from the main project I was replacing the <zk.version> to, which does not yet have the same version of all the other artifacts. By setting the <zk.version> property to, the issue was resolved.

Thank you very much for the return to the case.

link publish delete flag offensive edit

answered 2021-06-10 18:36:15 +0800

MDuchemin gravatar image MDuchemin
2193 1 5
ZK Team

Hey there,

I've tried to make a runnable sample based on your info, but I can't see the effect you described at the moment. Check fiddle here: https://zkfiddle.org/sample/1qr6ftm/2-Another-new-ZK-fiddle

(tested with with sapphire theme)

Can you reproduce the issue on fiddle? If possible, can you update that sample to trigger the reproducing case?

You may need to add other details such as browser and browser version, or other information that could be relevant.

link publish delete flag offensive edit

answered 2021-06-15 15:45:01 +0800

MDuchemin gravatar image MDuchemin
2193 1 5
ZK Team

Good to hear :)

link publish delete flag offensive edit

Question tools

1 follower



Asked: 2021-06-10 00:48:39 +0800

Seen: 13 times

Last updated: Jun 16 '21

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More