diff -r 4466ebbd9fd5 -r 73c8a3780c72 ui/winui/container.cpp --- a/ui/winui/container.cpp Tue Oct 29 20:30:00 2024 +0100 +++ b/ui/winui/container.cpp Sun Nov 10 09:12:30 2024 +0100 @@ -678,6 +678,16 @@ ct->layout.vexpand = expand; } +void ui_layout_hfill(UiObject *obj, UiBool fill) { + UiContainer *ct = uic_get_current_container(obj); + ct->layout.hfill = fill; +} + +void ui_layout_vfill(UiObject *obj, UiBool fill) { + UiContainer *ct = uic_get_current_container(obj); + ct->layout.vfill = fill; +} + void ui_layout_width(UiObject* obj, int width) { UiContainer* ct = uic_get_current_container(obj); ct->layout.width = width;