-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
Hey!
I tried the simple layout example below
<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.
2 | No.2 Revision |
Hey!
I tried the simple layout example below
<?page title="new page title" contentType="text/html;charset=UTF-8"?>
<zk>
<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.