UIGridStyleLayout

UIGridStyleLayout : Instance

Overview

Properties

AbsoluteContentSize

Vector2

Read-only total size (in pixels) of all arranged children after this layout is applied

Code Samples

local ScreenGui = script.Parent
local Frame = ScreenGui:WaitForChild("Frame")
local UIListLayout = Frame:WaitForChild("UIListLayout")

print(UIListLayout.AbsoluteContentSize)

FillDirection

Enum.FillDirection

Determines how items are filled: horizontally (LeftToRight) or vertically (TopToBottom), depending on layout type.

Code Samples

HorizontalAlignment

Enum.HorizontalAlignment

Horizontal alignment of children within each row/line: Left, Center, or Right.

Code Samples

SortOrder

Enum.SortOrder

Specifies how children are sorted before layout: e.g., by Name or by LayoutOrder.

Code Samples

VerticalAlignment

Enum.VerticalAlignment

Vertical alignment of children within each column/stack: Top, Center, or Bottom.

Code Samples

Methods

Events

See also

GUI

Last updated