-
FEATURED COMPONENTS
First time here? Check out the FAQ!
<?page title="NETMES" contentType="text/html;charset=UTF-8"?> <?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c" ?> <?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="./workCombinationWin"?> <zk> <window title="" border="none" id="workCombinationWin" style="padding-top:30px;" width="100%" height="100%"> <hbox spacing="0" width="100%" height="100%"> <vbox spacing="0" width="100%" height="100%"> <borderlayout height="450px" width="100%"> <north title="North" maxsize="300" size="50%" splittable="true" collapsible="true"> <borderlayout> <north title="West" size="100%" flex="true"> <div style="background:#B8D335"> <label value="25%" style="color:white;font-size:50px" /> </div> </north> </borderlayout> </north> <center border="0"> <borderlayout> <center> <label value="Here is a border" style="color:gray;font-size:30px" /> </center> </borderlayout> </center> </borderlayout> </vbox> </hbox> </window> </zk>
Why I tried to set boder layout width to specific number it works , however set width=100% the browser does not show anything:(.
still does not work:
<?page title="NETMES" contentType="text/html;charset=UTF-8"?> <?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c" ?> <?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="./workCombinationWin"?> <zk> <window title="" border="none" id="workCombinationWin" style="padding-top:30px;" width="100%" height="100%"> <vbox spacing="0" width="100%" height="100%" pack="stretch" align="stretch"> <borderlayout height="100%" width="100%"> <north title="North" maxsize="300" size="50%" splittable="true" collapsible="true"> <borderlayout> <north title="West" size="100%" flex="true"> <div style="background:#B8D335"> <label value="25%" style="color:white;font-size:50px" /> </div> </north> </borderlayout> </north> <center border="0"> <borderlayout> <center> <label value="Here is a border" style="color:gray;font-size:30px" /> </center> </borderlayout> </center> </borderlayout> </vbox> </window> </zk>
Asked: 2010-06-04 01:47:36 +0800
Seen: 584 times
Last updated: Jun 10 '10