-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
2 | No.2 Revision |
Btw... i think you should try to refactor your composition: i'd say that nesting grids too much is never a good idea. :)
3 | No.3 Revision |
Btw... i think you should try to refactor your composition: i'd say that nesting grids too much is never a good idea.
:)If i interpreted correctly what you were trying to do...something like:
<window id="windowIndex" vflex="1">
<borderlayout>
<north>
<label value="TITLE" style="font-size: 2em; padding: 10px;" />
</north>
<west width="150px">
<vlayout style="text-align: center; padding: 10px;">
<button id="btnIndice" label="Indices" />
<button id="btnSector" label="Sectors" />
<button id="btnStock" label="Stocks" />
</vlayout>
</west>
<center>
<iframe style="background-color: lightcyan" vflex="1" hflex="1" />
</center>
</borderlayout>
</window>
i put some stupid styles just to show better the space distribution.
4 | No.4 Revision |
Btw... i think you should try to refactor your composition: i'd say that nesting grids too much is never a good idea. If i interpreted correctly what you were trying to do...something like:
<window id="windowIndex" vflex="1">
<borderlayout>
<north>
<label value="TITLE" style="font-size: 2em; padding: 10px;" />
</north>
<west width="150px">
<vlayout style="text-align: center; padding: 10px;">
<button id="btnIndice" label="Indices" />
<button id="btnSector" label="Sectors" />
<button id="btnStock" label="Stocks" />
</vlayout>
</west>
<center>
<iframe style="background-color: lightcyan" vflex="1" hflex="1" />
</center>
</borderlayout>
</window>
i put some stupid styles just to show better the space distribution.