-
Bug
-
Resolution: Fixed
-
Normal
-
8.5.1.2
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.6.0 S1
-
None
Steps to Reproduce
1. load the zul
<zk> Problem here the horizontal splitter causes a wrong height for the panel and the vertical splitters works any how but not as expected. <vbox spacing="0" width="100%" vflex="1" heights="50%,50%"> <panel title="Dashboard 2.1" border="normal" vflex="1" hflex="true"> <panelchildren> <div>Dashboard components</div> </panelchildren> </panel> <splitter/> <panel title="Dashboard 2.2" border="normal" vflex="1" hflex="true"> <panelchildren> <div>Dashboard components</div> </panelchildren> </panel> </vbox> </zk>
2. resize with the splitter (drag up or down)
Current Result
both panels shrink their height but don't match the height split by the splitter
Expected Result
the heights of 2 panels fill their parent's height.
workaround
enclose each child inside a <vbox> with <cell>
<vbox spacing="0" width="100%" vflex="1" heights="50%,50%"> <cell> <panel title="Dashboard 2.1" border="normal" vflex="1" hflex="true"> <panelchildren> <div>Dashboard components</div> </panelchildren> </panel> </cell> <splitter/> <cell> <panel title="Dashboard 2.2" border="normal" vflex="1" hflex="true"> <panelchildren> <div>Dashboard components</div> </panelchildren> </panel> </cell> </vbox>