Space||doc136560

September 20, 2022

Format

HorizontalLayoutContainer.Space

Describe

Horizontal layout the horizontal spacing of 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 horizontal layout control for testing according to the name
local container = APIRootWindow.APIHorizontalLayoutContainer

--Set the subset control interval for horizontal layout controls
container.Space = 10