-
FEATURED COMPONENTS
First time here? Check out the FAQ!
how can i divide the hbox or hlayout into two area,one's width is 80% and the other's width is 20%
the hbox's parent is a tabpanel
and i use the code like :
<tabpanel> <hbox width="100%"> <vbox width="80%" height="50px" style="border-style:solid;border-width:3px;border-color:green"> </vbox> <vbox width="20%" height="50px" style="border-style:solid;border-width:3px;border-color:green"> </vbox> </hbox> <tabpanel
but it doesn't worked
you can use the 'cell' component.
<hbox width="100%"> <cell width="80%" height="50px" style="border-style:solid;border-width:3px;border-color:green" > </cell> <cell width="20%" height="50px" style="border-style:solid;border-width:3px;border-color:green"> </cell> </hbox>
Asked: 2011-10-08 09:51:35 +0800
Seen: 200 times
Last updated: Oct 09 '11