0

Tabbox not resized by splitter

asked 2014-02-18 16:40:21 +0800

robertkaren gravatar image robertkaren
77 7

updated 2014-02-18 20:25:11 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

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>
delete flag offensive retag edit

Comments

Here is the test in fiddle :

http://zkfiddle.org/sample/3i9u4br/1-splitter-example

chillworld ( 2014-02-18 20:30:39 +0800 )edit

If 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 )edit

Hi, did you see the behavior I described?

robertkaren ( 2014-02-20 17:03:56 +0800 )edit

yes, you are correct

chillworld ( 2014-02-20 19:59:38 +0800 )edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-02-18 16:40:21 +0800

Seen: 14 times

Last updated: Feb 18 '14

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