0

Layout Bug when resizing Panel!?

asked 2013-02-05 12:50:27 +0800

thomasp667 gravatar image thomasp667
1

updated 2013-02-05 12:51:47 +0800

Hey!

I tried the simple layout example below

 <?page title="new page title" contentType="text/html;charset=UTF-8"?>
     <zk>
       <borderlayout>
    <north>
        <menubar>
            <menu label="File">
                <menupopup>
                    <menuitem label="New" />
                    <menuseparator />
                    <menuitem label="Open" />
                </menupopup>
            </menu>
            <menuitem label="About" />
        </menubar>
    </north>

    <center>
        <borderlayout>
            <west width="100px" splittable="true"  collapsible="true">
                <tree width="100%">
                    <treecols >
                        <treecol label="Just a Tree" />
                    </treecols>
                    <treechildren>
                        <treeitem>
                            <treerow>
                                <treecell label="" />
                            </treerow>
                        </treeitem>
                    </treechildren>
                </tree>
            </west>
            <center autoscroll="true">

                <panel sizable="true" height="100px" width="200px"
                    border="normal" title="Panel1" floatable="true" movable="true"
                    closable="true" maximizable="true" framable="true" minimizable="true ">
                    <panelchildren>PanelContent1</panelchildren>
                </panel>

            </center>
        </borderlayout>

    </center>
    <south></south>
</borderlayout>
 </zk>

Now, everytime I resize the Panel, the Panel moves a little bit to the bottom right of the page, according to the width of the west-region and the height of the north-region of the borderlayout. This might be a bug.

delete flag offensive retag 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: 2013-02-05 12:50:27 +0800

Seen: 14 times

Last updated: Feb 05 '13

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