This commit is contained in:
Insality
2025-10-14 00:39:36 +03:00
parent 2a7d25500e
commit 948e13331c

View File

@@ -264,15 +264,19 @@ end
---Set the width of the rich text, not affects the size of current spawned words ---Set the width of the rich text, not affects the size of current spawned words
---@param width number ---@param width number
---@return druid.rich_text self
function M:set_width(width) function M:set_width(width)
self._settings.width = width self._settings.width = width
return self
end end
---Set the height of the rich text, not affects the size of current spawned words ---Set the height of the rich text, not affects the size of current spawned words
---@param height number ---@param height number
---@return druid.rich_text self
function M:set_height(height) function M:set_height(height)
self._settings.height = height self._settings.height = height
return self
end end