5 Replies Latest reply on Aug 15, 2011 6:58 AM by Don Kerr

    How to center items horizontally in a tile layout?

    jexer

      Hello.

       

      say i have a bordercontainer with a group with a tilelayout in it:

       

          <s:BorderContainer width="600" borderColor="0x000000">
              <s:layout> <s:HorizontalLayout horizontalAlign="center" /> </s:layout>

                <s:Group width="90%">
                  <s:layout> <s:TileLayout/> </s:layout>

       

                  <s:Button/>
                  <s:Button/>
                  <s:Button/>
              </s:Group>
          </s:BorderContainer>  

       

      The three buttons sit in the left corner of the group. Any ideas on how I could center the three buttons horizontally?