UIFlowLayout
A flow layout manager for UI elements.
Properties
| Property | Type | Default |
|---|---|---|
FillDirection | EnumItem | Enum.FillDirection.Horizontal |
Padding | UDim | UDim.new(0, 5) |
SortOrder | EnumItem | Enum.SortOrder.LayoutOrder |
HorizontalAlignment | EnumItem | Enum.HorizontalAlignment.Left |
VerticalAlignment | EnumItem | Enum.VerticalAlignment.Top |
ItemAlignment | EnumItem | Enum.VerticalAlignment.Top |
Enabled | boolean | true |
Name | string | "UIFlowLayout" |
currentRow | table | { children = {}, size = Vector2.new(0, 0) } |
currentRow | table | { children = {}, size = Vector2.new(0, 0) } |
itemOffset | any | (row.size.Y - size.Y) * 0.5 |
itemOffset | any | row.size.Y - size.Y |
itemOffset | any | (row.size.X - size.X) * 0.5 |
itemOffset | any | row.size.X - size.X |
Functions
GetAbsoluteSize
Arguments
objReturns
This function returns nothing.
API
instance:GetAbsoluteSize(obj)