From e72af15990e16539ae0d68d7824deae8e1e3d2a6 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Wed, 22 Apr 2026 21:16:44 +1200 Subject: make it.. actually set the box's size?? oops --- src/saffron_layout.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/saffron_layout.c') 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; -- cgit v1.2.3