UIStackLayout
A modifier class that stacks GUI elements in a vertical or horizontal layout.
Properties
| Property | Type | Default |
|---|---|---|
Name | string | "UIStackLayout" |
Enabled | boolean | true |
SortOrder | EnumItem | Enum.SortOrder.LayoutOrder |
HorizontalAlignment | EnumItem | Enum.HorizontalAlignment.Left |
VerticalAlignment | EnumItem | Enum.VerticalAlignment.Top |
FillParent | boolean | true |
LayerOffset | UDim2 | UDim2.new(0, 0, 0, 0) |
x | any | totalPaddingX + (effectiveWidth - childSize.X) * 0.5 + offsetX * (i - 1) |
x | any | totalPaddingX + effectiveWidth - childSize.X + offsetX * (i - 1) |
y | any | totalPaddingY + (effectiveHeight - childSize.Y) * 0.5 + offsetY * (i - 1) |
y | any | totalPaddingY + effectiveHeight - childSize.Y + offsetY * (i - 1) |
Functions
render
Arguments
surface, objectReturns
This function returns nothing.
API
instance:render(surface, object)