Stack (스택) Widget Control
The Widget Controls (Property · Method · Event) you use to control the Stack widget from a script. For an introduction to the widget and how to use it, visit Stack.
The stackID in the examples below is the name (ID) you gave the Stack widget on the canvas. In a script, access members as widgetID.member.
Widget Control summary
The Stack widget has no dedicated Widget Control (Property · Method · Event) that you control from a script. Configure behavior such as overlap, alignment, and clipping with property values in the editor, and use the common Widget Controls below to read and write those values from a script.
Property
Not applicable — the Stack widget has no script-only Property. In a script, use the common Widget Controls below (getProperty / setProperty) to read and write values.
Method
Not applicable — the Stack widget has no dedicated Method. Use the common Widget Controls below.
Event
Not applicable — the Stack widget has no dedicated Event.
Common Widget Control (all widgets)
Every widget can use the name-based common Widget Controls (Method) such as setProperty / getProperty / setStyleProperty — for example, stackID.getProperty("fit"). See the common reference doc (to be written).