2025-05-02 12:53:32 +03:00

1.2 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): Druid component to manage the size and positions with other containers relations to create a adaptable layouts.

  • text_name (druid.text): Basic Druid text component. Text components by default have the text size adjusting.

  • text_right (druid.text): Basic Druid text component. Text components by default have the text size adjusting.