widget_dropdown
The row a dropdown reads: how tall its list grows. The widget_dropdown component of the Balaur game engine: its 1 property, and the functions a script…
Sur cette page
ui · 1 property · UI
The row a dropdown reads: how tall its list grows.
In a scene, widget_dropdown is the node key that applies it. A script reaches each property below as a field on node.widget_dropdown: reading one asks the running component, and assigning one leaves the rest alone. The whole table is node.widget_dropdown.get() and node.widget_dropdown.set(table).
Properties
| property | type | default | description |
|---|---|---|---|
list_height |
float | 0 |
The tallest a dropdown's list grows before it scrolls, in design pixels; 0 takes egui's At least 0. |