-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3721525
By: krynn_cl
with tis code:
<hbox width="100%">
<window id="principal" title="Espacio de InformaciA3n primordial"
closable="false" border="normal" width="80%" mode="embedded">
alooooooooooooo
</window>
<vbox >
<window id="identificacion" title="identificacion" closable="false"
border="normal" width="20%" mode="embedded">
siiiiiiiiiiiii??
</window>
<window id="derecha_abajo" title="derechaAbajo" closable="false"
border="normal" width="20%" mode="embedded">
diiiiiiiigaaaaaaa?
</window>
</vbox>
</hbox>
The idea is its look
a big window of he 80% of the space and 2 window of the 20% but always it look Bad, or the windows in the box it's deformed, and not work like a table.
how i can do this look good??
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3721652
By: henrichen
For box layout, you have to image that there is an invisible box surrounds each component. i.e. There is a box that surrounds the principle window and another box surrounds the vbox that holds the other two small windows.
When you put width="80%" in the principle window, you are telling that, "The window's width is 80% of the box." Thus the look.
The width of the invisible box is determined by its enclosing component. Currently, you have no way to specify the width of that invisible box.
All you can do is adjusting the spacing between the invisible boxes.
A feasible way is to set enclosing components width using fixed pixels.
/henri
Asked: 2006-05-09 23:28:22 +0800
Seen: 235 times
Last updated: May 10 '06