widget_separator
The rows a separator reads: the room it takes and how far its line runs.
Na této stránce
ui · 2 properties · UI
The rows a separator reads: the room it takes and how far its line runs.
In a scene, widget_separator is the node key that applies it. A script reaches each property below as a field on node.widget_separator: reading one asks the running component, and assigning one leaves the rest alone. The whole table is node.widget_separator.get() and node.widget_separator.set(table).
Properties
| property | type | default | description |
|---|---|---|---|
overhang |
float | 0 |
How far a separator's line runs past each end of the room it was given, in design pixels; below zero stops it short |
spacing |
float | -1 |
The room a separator takes across its line, in design pixels, the line drawn down its middle; below zero is 6 |