ItemLineAlignment
Overview
ItemLineAlignment is an Enum that defines how child UI elements within a line are aligned on the cross axis.
It is used in the ItemLineAlignment property of UIListLayout and determines how elements are aligned along the axis perpendicular to the arrangement direction.
Items
Name
Value
Description
Automatic
0
If Flex is applied to the cross axis, behaves as Stretch; otherwise, follows the alignment property. This is the default.
Start
1
Aligns to the start of the line.
Center
2
Aligns to the center of the line.
End
3
Aligns to the end of the line.
Stretch
4
Stretches to fit the size of the line.
See also
UIListLayoutLast updated