-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I took the demo for splitter, which works fine. if you comment out the text and remove the comments for the tabbox, the splitter on its right no longer moves/resizes to the right/left, or it works just once.
I saw some old posts about problem w/ splitter but couldn't find answer to this. thanks for any help. here is code:
<zk>
<panel title="Splitter" border="normal" width="500px" >
<panelchildren>
<hbox spacing="0" width="100%" height="100%">
<vbox spacing="0" width="100%" heights="130px,130px">
<!--
<tabbox>
<tabs>
<tab>a</tab>
<tab>b</tab>
<tab>c</tab>
<tab>d</tab>
</tabs>
<tabpanels>
<tabpanel>a</tabpanel>
<tabpanel>b</tabpanel>
<tabpanel>c</tabpanel>
<tabpanel>d</tabpanel>
</tabpanels>
</tabbox>-->
With plain text it works fine.
<splitter id="s1" collapse="before"/>
Column 1-2: You can enforce to open or collapse programming
by calling setOpen method.
</vbox>
<splitter id="s2" collapse="before"/>
Column 2: Whether a splitter allows users to open or collapse
depending on the collapse attribute.
</hbox>
</panelchildren>
</panel>
</zk>
Asked: 2014-02-18 16:40:21 +0800
Seen: 14 times
Last updated: Feb 18 '14
Here is the test in fiddle :
http://zkfiddle.org/sample/3i9u4br/1-splitter-example
chillworld ( 2014-02-18 20:30:39 +0800 )editIf you go to your zkfiddle and drag the splitter to the right. it usually resizes the first time but then won't resize a second time. I am using latest firefox.
robertkaren ( 2014-02-18 21:09:14 +0800 )editHi, did you see the behavior I described?
robertkaren ( 2014-02-20 17:03:56 +0800 )edityes, you are correct
chillworld ( 2014-02-20 19:59:38 +0800 )edit