ui.VBox
classVertical container
Fields
| Name | Type | Description |
|---|---|---|
| gap | number | Space kept between children in slate units |
Functions
ui.VBox:add(child)
Append a child widget (must not already be parented)
| child | ui.Widget | Widget to append |
ui.VBox:clear()
Drop every child, leaving the box empty
Inherited from ui.Widget (1)
- visible Hidden widgets keep their place in the tree and take no input
Inherited from Object (5)
- name Object name
- Object.find(name) Find an already loaded object by name
- Object.cast(object) Trying to cast Object into Object
- Object:get_class() Class of this object
- Object.get_class() Return Object class object