FillHorizontal||doc136565

September 20, 2022

Format

GridView.FillHorizontal

Describe

Whether the grid layout is arranged horizontally in priority. It is used in conjunction with fillmaxcells. The default value is true.

Code Example

image.png

-- create layout window
local APIRootWindow = UI:CreateGUIWindow("API")

--Set the window to the root node of the UI
APIRootWindow.Parent = UI.Root

--Get the grid layout control for testing according to the name
local container = APIRootWindow.APIGridView

--Set the grid layout control to prioritize horizontal padding
container.FillHorizontal = true