UIListLayout
A layout that arranges GUI components in a list.
Properties
| Property | Type | Default |
|---|---|---|
FillDirection | EnumItem | Enum.FillDirection.Vertical |
Padding | UDim | UDim.new(0, 5) |
SortOrder | EnumItem | Enum.SortOrder.LayoutOrder |
HorizontalAlignment | EnumItem | Enum.HorizontalAlignment.Left |
VerticalAlignment | EnumItem | Enum.VerticalAlignment.Top |
Enabled | boolean | true |
Name | string | "UIListLayout" |
Virtualized | boolean | true |
Overscan | number | 100 |
mode | any | flex.FlexMode |
growRatio | any | math.max(0, flex.GrowRatio or 0) |
shrinkRatio | any | math.max(0, flex.ShrinkRatio or 0) |
lineAlignment | any | flex.ItemLineAlignment |
grow | number | 1 |
shrink | number | 0 |
grow | number | 0 |
shrink | number | 1 |
grow | number | 1 |
shrink | number | 1 |
grow | any | growRatio |
shrink | any | shrinkRatio |
cursor | any | paddingY |
cursor | any | paddingX |
alignment | any | object.HorizontalAlignment |
alignment | any | object.VerticalAlignment |
alignment | any | = Enum.ItemLineAlignment.Center |
crossPosition | any | (crossSize - crossChildSize) * 0.5 |
alignment | any | = Enum.ItemLineAlignment.End |
crossPosition | any | crossSize - crossChildSize |
crossChildSize | any | crossSize |
Functions
GetFlexItem
Arguments
childReturns
This function returns nothing.
render
Arguments
surface, objectReturns
This function returns nothing.
API
instance:GetFlexItem(child)
instance:render(surface, object)