XLQP Gen1
ElementsContent & layout

AddSpace

Adds empty vertical space to the current layout.

AddSpace

What it does

Adds empty vertical space to the current layout.

When to use it

Use it to create intentional breathing room between neighboring elements.

ElementFunction:AddSpace(size)

local Space = Section:AddSpace()

Behavior and return value

Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.