Skip to main content

Spacer (스페이서) Widget Control

A list of the Widget Control (Property · Method · Event) you use to control the Spacer widget from a script. For an introduction to the widget and how to use it, see Spacer.

info

In the examples below, spacerID is the name (ID) you assigned to the Spacer widget on the canvas. In scripts, access members as widgetID.member.

note

The Spacer widget has no dedicated Widget Control (Property · Method · Event) you can drive from a script. Set the space ratio (flex) in the Properties panel on the edit screen, and use the common Widget Control below when you need to change the value from a script.

Property

info

Not applicable — the Spacer widget has no script-only Property. In scripts, read and write values with the common Widget Control below (getProperty / setProperty).

Method

info

Not applicable — the Spacer widget has no dedicated Method. Use the common Widget Control below.

Event

info

Not applicable — the Spacer widget has no dedicated Event.

Common Widget Control (all widgets)

note

Every widget supports name-based common Widget Control (Method) such as setProperty / getProperty / setStyleProperty. For example: spacerID.setProperty("flex", 2). See the common reference doc (to be written).