diff options
| author | Arslaan Pathan <[email protected]> | 2026-04-22 21:16:44 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-04-22 21:16:44 +1200 |
| commit | e72af15990e16539ae0d68d7824deae8e1e3d2a6 (patch) | |
| tree | 089595acc1f9f88ca094097f535483f5d0267ea7 /src | |
| parent | 289ca3be66a5731fdcd8e2901514ddbb113c5076 (diff) | |
| download | saffron-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.c | 2 |
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; |
