PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

HorizontalAlignment

UIGridStyleLayout

HorizontalAlignment

The HorizontalAlignment property determines the X-axis alignment of the laid-out grid of UI elements, much like TextLabel/TextXAlignment does with TextLabel/Text.


Code Samples


UIGridLayout Fill Directions and Alignments

This code sample showcases the different alignments and fill directions that a UIGridLayout may use by iterating over the three enums using for loops.