This commit is contained in:
luk3yx 2022-09-30 16:31:35 +13:00
parent 61803b31ce
commit 43c2fc0f78

View File

@ -374,7 +374,7 @@ local function expand(box)
-- space if this is in a horizontal box.
for node in pairs(expandable) do
if node.type == "label" then
local align = node.algin_h or "auto"
local align = node.align_h or "auto"
if align == "centre" or align == "center" or align == "fill" or
(align == "auto" and node.expand) then
align_types.fill(node, "x", "w", 0)