diff options
Diffstat (limited to 'src/layout')
-rw-r--r-- | src/layout/engine.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim index 0a92c185..30895b22 100644 --- a/src/layout/engine.nim +++ b/src/layout/engine.nim @@ -3230,8 +3230,8 @@ proc buildTable(ctx: var InnerBlockContext) = proc layout*(root: StyledNode; attrsp: ptr WindowAttributes): BlockBox = let space = availableSpace( - w = stretch(attrsp[].width_px), - h = stretch(attrsp[].height_px) + w = stretch(attrsp[].widthPx), + h = stretch(attrsp[].heightPx) ) let lctx = LayoutContext( attrsp: attrsp, |