Revision history [back]

click to hide/show revision 1
initial version

answered 2013-05-10 08:43:20 +0800

gganassin gravatar image gganassin flag of Luxembourg

http://www.hybris.com/

Hflex and VFlex

Btw... i think you should try to refactor your composition: i'd say that nesting grids too much is never a good idea. :)

Hflex and VFlex

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.

Hflex and VFlex

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.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More