--- a/ui/gtk/button.c Sun Oct 13 19:41:12 2024 +0200 +++ b/ui/gtk/button.c Sun Oct 13 21:28:09 2024 +0200 @@ -401,8 +401,8 @@ event); } - UiContainer *ct = uic_get_current_container(obj); - ct->add(ct, rbutton, FALSE); + UI_APPLY_LAYOUT1(current, args); + current->container->add(current->container, rbutton, FALSE); return rbutton; }