Skip to content

UIFlexItem

Not yet Class GUI

Defines flex behavior for a GuiObject within a UIListLayout.

Not implemented yet

This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.

0 Nova members · 10 modern Roblox members not implemented yet

Description

The UIFlexItem object defines flex behavior for its parent GuiObject under the control of a UIListLayout. The defined flex behavior overrides that of the controlling UIListLayout, letting you configure flex behavior on a per‑object basis where necessary.

Example of UIFlexItem applied to a specific GuiObject under control of a UIListLayout.

Example hierarchy of a UIFlexItem parented to a GuiObject under control of a UIListLayout.

Inheritance

Object → Instance → UIBase → UIComponent → UIFlexItem

Properties

Member Signature Summary
FlexMode FlexMode: UIFlexMode How the parent GuiObject grows or shrinks with available space in the flex layout container.
GrowRatio GrowRatio: float Determines the amount the parent GuiObject grows relative to other items in the line. Applies only if FlexMode is set to [UIFle…
ItemLineAlignment ItemLineAlignment: ItemLineAlignment Cross-axis alignment of the specific parent GuiObject within the flex line.
ShrinkRatio ShrinkRatio: float Determines the amount the parent GuiObject shrinks relative to other items in the line. Applies only if FlexMode is set to [UIF…

Roblox reference: UIFlexItem

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.