--- a/ui/qt/label.cpp Sat Oct 04 14:54:25 2025 +0200 +++ b/ui/qt/label.cpp Sun Oct 19 21:20:08 2025 +0200 @@ -34,7 +34,6 @@ UIWIDGET ui_label_create(UiObject* obj, UiLabelArgs *args) { UiContainerPrivate *ctn = ui_obj_container(obj); - UI_APPLY_LAYOUT(ctn->layout, args); QString str = QString::fromUtf8(args->label); QLabel *widget = new QLabel(str); @@ -47,7 +46,8 @@ } widget->setAlignment(align); - ctn->add(widget); + UiLayout layout = UI_ARGS2LAYOUT(args); + ctn->add(widget, layout); return widget; }