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.
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.
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
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
Not applicable — the Spacer widget has no dedicated Method. Use the common Widget Control below.
Event
Not applicable — the Spacer widget has no dedicated Event.
Common Widget Control (all widgets)
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).