0

vflex and center layout [closed]

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

DanielPy gravatar image DanielPy
16

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

cor3000 gravatar image cor3000
5920 2 7
ZK Team

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

ZK CE Version: 9.5.1.3

ZK Sapphire: 9.5.0.1

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" />
  <borderlayout>
    <center>
      <listbox id="lbxGeneric" mold="paging" vflex="1" autopaging="true">
        ...
      </listbox>
    </center>
    <south>
      ...
    </south>
  </borderlayout>
</window>

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
0

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

DanielPy gravatar image DanielPy
16

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 9.5.1.3, which does not yet have the same version of all the other artifacts. By setting the <zk.version> property to 9.5.0.3, the issue was resolved.

Thank you very much for the return to the case.

link publish delete flag offensive edit
0

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

MDuchemin gravatar image MDuchemin
1901 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 9.5.1.3 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
0

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

MDuchemin gravatar image MDuchemin
1901 1 5
ZK Team

Good to hear :)

link publish delete flag offensive edit

Question tools

Follow
1 follower

RSS

Stats

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

Seen: 12 times

Last updated: Jun 16

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