....
Code:
<TileLayoutBox item="BW_Buttons">
<RelativePosition>true</RelativePosition>
<AutoStretch>true</AutoStretch>
<BottomAnchorToTop>false</BottomAnchorToTop>
<RightAnchorToLeft>false</RightAnchorToLeft>
<Style_Transparent>true</Style_Transparent>
<Spacing>5</Spacing>
<SecondarySpacing>10</SecondarySpacing>
<HorizontalFirst>true</HorizontalFirst>
<AnchorToTop>true</AnchorToTop>
<AnchorToLeft>true</AnchorToLeft>
<FirstPieceTemplate>true</FirstPieceTemplate>
<Pieces>BW_Buff0_Button</Pieces>
<Pieces>BW_Buff1_Button</Pieces>
...
</TileLayoutBox>
Spacing - controls the space between elements in the primary direction
Secondary Spacing - controls the space between elements in the secondary direction
AnchorToTop and AnchorToLeft - controls the corner that the layout will start from
HorizontalFirst - controls if elements will start laying out horizontally or vertically as the primary axis for direction