Space||doc136563

September 20, 2022

Format

GridView.Space

Describe

Horizontal and vertical spacing of the grid layout's child controls.

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's subset control interval
container.Space = Vector2.new(10,10)