diff -r b00cbbfeec7a -r dc8b504604f4 ui/gtk/container.c --- a/ui/gtk/container.c Sun Sep 22 16:39:10 2024 +0200 +++ b/ui/gtk/container.c Sun Sep 22 17:54:33 2024 +0200 @@ -150,12 +150,8 @@ vexpand = ct->layout.vexpand; } - if(hexpand) { - gtk_widget_set_hexpand(widget, TRUE); - } - if(vexpand) { - gtk_widget_set_vexpand(widget, TRUE); - } + gtk_widget_set_hexpand(widget, hexpand); + gtk_widget_set_vexpand(widget, vexpand); int colspan = ct->layout.colspan > 0 ? ct->layout.colspan : 1; int rowspan = ct->layout.rowspan > 0 ? ct->layout.rowspan : 1;