--- a/application/main.c Wed Mar 26 22:20:27 2025 +0100 +++ b/application/main.c Thu Mar 27 21:28:04 2025 +0100 @@ -777,10 +777,14 @@ UiObject *obj = ui_window("My Window", NULL); ui_grid(obj, .margin = 10, .columnspacing = 10, .rowspacing = 10) { ui_button(obj, .label = "Button 1"); - ui_button(obj, .label = "Button 2"); + ui_button(obj, .label = "Button 2", .hexpand = TRUE, .hfill = TRUE); + ui_button(obj, .label = "Button end"); ui_newline(obj); - ui_button(obj, .label = "Button 3", .colspan = 2); + ui_button(obj, .label = "Button 3", .vexpand = TRUE, .vfill = TRUE); + ui_newline(obj); + + ui_button(obj, .label = "Button Y"); } ui_show(obj); }