mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
#155 Add margin to total width in centrate_nodes
This commit is contained in:
@@ -76,6 +76,7 @@ function M.centrate_nodes(margin, ...)
|
||||
node_widths[i] = get_width(node)
|
||||
width = width + node_widths[i]
|
||||
end
|
||||
width = width + margin * (count - 1)
|
||||
|
||||
-- Posing all elements
|
||||
local pos_x = 0
|
||||
|
Reference in New Issue
Block a user