Skip to content

Enum

Enum.ItemLineAlignment

Used for UIListLayout.ItemLineAlignment and UIFlexItem.ItemLineAlignment in a flex layout to define the cross-directional alignment of siblings or the parent within a line.

Official docs ↗
ItemValueSummary
Enum.ItemLineAlignment.Automatic0Aligns the siblings of the UIListLayout or the specific UIFlexItem parent to the layout's HorizontalAlignment or VerticalAlignment, depending on its FillDirection. If HorizontalFlex or VerticalFlex is
Enum.ItemLineAlignment.Start1Aligns the siblings of the UIListLayout or the specific UIFlexItem parent to the line's top in a horizontal fill or the line's left in a vertical fill.
Enum.ItemLineAlignment.Center2Aligns the siblings of the UIListLayout or the specific UIFlexItem parent to the line's center in either a horizontal or vertical fill.
Enum.ItemLineAlignment.End3Aligns the siblings of the UIListLayout or the specific UIFlexItem parent to the line's bottom in a horizontal fill or the line's right in a vertical fill.
Enum.ItemLineAlignment.Stretch4Stretches the siblings of the UIListLayout or the specific UIFlexItem parent to fill the entire cross‑direction of the line in either a horizontal or vertical fill.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.