diff -r e0251f6e15f7 -r f415387fff6f ui/motif/label.c --- a/ui/motif/label.c Thu Jan 29 18:56:36 2026 +0100 +++ b/ui/motif/label.c Thu Jan 29 19:01:52 2026 +0100 @@ -65,6 +65,7 @@ Widget w = XmCreateLabel(parent, name, xargs, n); XtManageChild(w); ui_container_add(ctn, w); + uic_widget_set_visibility_states(obj->ctx, w, args->visibility_states); XmStringFree(label); @@ -162,6 +163,7 @@ char *name = args->name ? (char*)args->name : "progressbar"; Widget frame = XmCreateFrame(parent, name, xargs, n); ui_container_add(ctn, frame); + uic_widget_set_visibility_states(obj->ctx, frame, args->visibility_states); // create a button and get some informations about the height, shadow, highlight, .... // we want the frame to have the same dimensions as a normal button @@ -252,6 +254,7 @@ Widget w = XmCreateLabel(parent, name, xargs, n); XtManageChild(w); ui_container_add(ctn, w); + uic_widget_set_visibility_states(obj->ctx, w, args->visibility_states); UiVar* var = uic_widget_var(obj->ctx, obj->ctx, args->value, args->varname, UI_VAR_INTEGER); if(var) {