mirror of
https://github.com/Insality/druid.git
synced 2025-11-26 10:50:52 +01:00
Update
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user