mirror of
https://github.com/Insality/druid
synced 2025-06-27 10:27:48 +02:00
1.3 KiB
1.3 KiB
druid.widget.property_text API
at /druid/widget/properties_panel/properties/property_text.lua
Functions
Fields
init
property_text:init()
set_text_property
property_text:set_text_property(text)
-
Parameters:
text
(string):
-
Returns:
- `` (druid.widget.property_text):
set_text_value
property_text:set_text_value([text])
-
Parameters:
[text]
(string|nil):
-
Returns:
- `` (druid.widget.property_text):
Fields
- root (node)
- container (druid.container): The component used for managing the size and positions with other containers relations to create a adaptable layouts
- text_name (druid.text): The component to handle text behaviour over a GUI Text node, mainly used to automatically adjust text size to fit the text area
- text_right (druid.text): The component to handle text behaviour over a GUI Text node, mainly used to automatically adjust text size to fit the text area