aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-04-22 21:16:44 +1200
committerArslaan Pathan <[email protected]>2026-04-22 21:16:44 +1200
commite72af15990e16539ae0d68d7824deae8e1e3d2a6 (patch)
tree089595acc1f9f88ca094097f535483f5d0267ea7 /src
parent289ca3be66a5731fdcd8e2901514ddbb113c5076 (diff)
downloadsaffron-e72af15990e16539ae0d68d7824deae8e1e3d2a6.tar.xz
saffron-e72af15990e16539ae0d68d7824deae8e1e3d2a6.zip
make it.. actually set the box's size?? oops
Diffstat (limited to 'src')
-rw-r--r--src/saffron_layout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saffron_layout.c b/src/saffron_layout.c
index 62c7de2..725537f 100644
--- a/src/saffron_layout.c
+++ b/src/saffron_layout.c
@@ -15,6 +15,8 @@ SaffronBox* saffron_box_new(SaffronOrientation orientation, SaffronHorizontalAli
saffron_widget_init((SaffronWidget*)box);
((SaffronWidget*)box)->type = SAFFRON_WIDGET_BOX;
+ ((SaffronWidget*)box)->w = width;
+ ((SaffronWidget*)box)->h = height;
box->orientation = orientation;
box->halign = halign;