Open Asterune
Stack

Stack

Arranges interface children using flow layout.

Creatable
Instance.new("Stack")
Inherits
UILayoutUIComponentUIBaseInstance
Replication
Standard

Behavior

Stack arranges interface children using flow layout.

Summary

Members8
Properties7
Methods1

Properties

AbsoluteContentSize

Stack.AbsoluteContentSize: Vector2

The measured size occupied by the layout's children, in pixels.

Align

The cross-axis alignment of flow-layout children.

Flow

Stack.Flow: Enum.Flow = Enum.Flow.Row

The main-axis direction and order used to place children.

Gap

Stack.Gap: UDim = UDim.new(0, 0)

The spacing between adjacent flow-layout children.

Justify

The distribution of children and free space along the main axis.

LineGap

Stack.LineGap: UDim = UDim.new(0, 0)

The space between successive wrapped flow-layout lines.

Wrap

Stack.Wrap: boolean = false

Whether 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

Inherited47

UILayout