User Manual

Layout Group

The LayoutGroup component enables an entity to specify the size and position of child Element Components.

See the Layout Groups section for more details.

LayoutGroup component

Properties

PropertyDescription
OrientationWhether the layout should run horizontally or vertically
ReverseXReverses the order of children along the x axis.
ReverseYReverses the order of children along the y axis.
AlignmentSpecifies the horizontal and vertical alignment of child elements. Values range from 0 to 1 where [0,0] is the bottom left and [1,1] is the top right.
PaddingPadding to be applied inside the container before positioning any children. Specified as left, bottom, right and top values.
SpacingSpacing to be applied between each child element.
Width FittingFitting logic to be applied when positioning and scaling child elements.
Height FittingFitting logic to be applied when positioning and scaling child elements.
WrapWhether or not to wrap children onto a new row/column when the size of the container is exceeded

Scripting Interface

You can control an LayoutGroup component's properties using a script component. The LayoutGroup component's scripting interface is here.