--- a/ui/motif/container.c Tue Dec 31 17:29:58 2024 +0100 +++ b/ui/motif/container.c Tue Dec 31 17:57:43 2024 +0100 @@ -132,6 +132,9 @@ UI_APPLY_LAYOUT(ctn->layout, args); Widget parent = ctn->prepare(ctn, xargs, &n); + XtSetArg(xargs[n], gridMargin, args.margin); n++; + XtSetArg(xargs[n], gridColumnSpacing, args.columnspacing); n++; + XtSetArg(xargs[n], gridRowSpacing, args.rowspacing); n++; Widget grid = XtCreateManagedWidget(args.name ? args.name : "gridcontainer", gridClass, parent, xargs, n); ctn->add(ctn, grid);