ui/motif/container.c

changeset 920
10a783120051
parent 914
4d5aa85bc5ed
child 922
20dff5f878e1
equal deleted inserted replaced
919:d9018dcd4e2d 920:10a783120051
76 76
77 Arg xargs[16]; 77 Arg xargs[16];
78 int n = 0; 78 int n = 0;
79 79
80 if(orientation == UI_BOX_VERTICAL) { 80 if(orientation == UI_BOX_VERTICAL) {
81 //XtSetArg(xargs[n], gridRowSpacing, args->spacing); n++; 81 XtSetArg(xargs[n], gridRowSpacing, args->spacing); n++;
82 } else { 82 } else {
83 //XtSetArg(xargs[n], gridColumnSpacing, args->spacing); n++; 83 XtSetArg(xargs[n], gridColumnSpacing, args->spacing); n++;
84 } 84 }
85 85
86 Widget parent = ui_container_prepare(ctn, &layout, xargs, &n); 86 Widget parent = ui_container_prepare(ctn, &layout, xargs, &n);
87 Widget grid = XtCreateManagedWidget(args->name ? args->name : "boxcontainer", gridClass, parent, xargs, n); 87 Widget grid = XtCreateManagedWidget(args->name ? args->name : "boxcontainer", gridClass, parent, xargs, n);
88 ctn->add(ctn, grid); 88 ctn->add(ctn, grid);

mercurial