mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
Update
This commit is contained in:
@@ -249,12 +249,12 @@ end
|
||||
---@private
|
||||
function M:add_property(widget)
|
||||
gui.set_enabled(widget.root, true)
|
||||
self.layout:add(widget.root)
|
||||
|
||||
table.insert(self.properties, widget)
|
||||
local width = self.layout:get_content_size()
|
||||
widget.container:set_size(width)
|
||||
|
||||
self.layout:add(widget.root)
|
||||
|
||||
return widget
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user