Skip to content

Enum

Enum.UIFlexAlignment

In a UIListLayout flex layout, specifies how to distribute extra space in the parent container.

Official docs ↗
ItemValueSummary
Enum.UIFlexAlignment.None0No flex behavior; siblings maintain their defined width or height.
Enum.UIFlexAlignment.Fill1Siblings resize to fill the entire parent container, overriding their defined width or height.
Enum.UIFlexAlignment.SpaceAround2Siblings maintain their defined width or height. Equal spacing is added on both sides of each sibling.
Enum.UIFlexAlignment.SpaceBetween3Siblings maintain their defined width or height. Equal spacing is added between siblings, but no additional space is added around siblings.
Enum.UIFlexAlignment.SpaceEvenly4Siblings maintain their defined width or height. Equal spacing is added both between and around siblings.

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