ui/cocoa/label.m

changeset 847
50de0f36973f
parent 719
6963d97a38d3
child 868
be3df094f8db
--- a/ui/cocoa/label.m	Tue Oct 14 09:45:44 2025 +0200
+++ b/ui/cocoa/label.m	Tue Oct 14 10:41:21 2025 +0200
@@ -51,7 +51,7 @@
         label.stringValue = str;
     }
     
-    UiLayout layout = UI_INIT_LAYOUT(args);
+    UiLayout layout = UI_ARGS2LAYOUT(args);
     ui_container_add(obj, label, &layout);
     
     UiVar *var = uic_widget_var(obj->ctx, obj->ctx, args->value, args->varname, UI_VAR_STRING);

mercurial