FillMaxCells||doc136564

September 20, 2022

Format

GridView.FillMaxCells

Describe

The maximum number of cells that a grid layout can fill before switching to the next row or column.

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 number of padding cells for the grid layout control
container.FillMaxCells = 2