ui.Text
classText label
Fields
| Name | Type | Description |
|---|---|---|
| text | string | Displayed UTF-8 text |
| font_size | number | Font size in slate units |
| align | string | Where the text sits in its slot: "left", "center" or "right" |
| wrap | boolean | True breaks a long line instead of letting it run out of the window |
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