Stack
Arranges interface children using flow layout.
- Creatable
Instance.new("Stack")- Inherits
- UILayoutUIComponentUIBaseInstance
- Replication
- Standard
Behavior
Stack arranges interface children using flow layout.
Summary
The measured size occupied by the layout's children, in pixels.
The cross-axis alignment of flow-layout children.
The main-axis direction and order used to place children.
The spacing between adjacent flow-layout children.
The distribution of children and free space along the main axis.
The space between successive wrapped flow-layout lines.
Whether children continue on another line when main-axis space is exhausted.
Returns this instance if it is an ExecutionGroup.
Properties
AbsoluteContentSize
Stack.AbsoluteContentSize: Vector2The measured size occupied by the layout's children, in pixels.
Align
Stack.Align: Enum.Align = Enum.Align.StartThe cross-axis alignment of flow-layout children.
Flow
Stack.Flow: Enum.Flow = Enum.Flow.RowThe main-axis direction and order used to place children.
Gap
The spacing between adjacent flow-layout children.
Justify
Stack.Justify: Enum.Justify = Enum.Justify.StartThe distribution of children and free space along the main axis.
LineGap
The space between successive wrapped flow-layout lines.
Wrap
Stack.Wrap: boolean = falseWhether children continue on another line when main-axis space is exhausted.
Methods
GetExecutionGroup
Stack:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
Inherited members
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying