--- a/ui/motif/container.c Sun Jan 04 22:12:07 2015 +0100 +++ b/ui/motif/container.c Mon Jan 05 11:49:46 2015 +0100 @@ -247,7 +247,6 @@ if(widget_height > rheight) { rheight = widget_height; } - rowdim = ucx_list_append(rowdim, (void*)(intptr_t)rheight); // get the maximum width in this column if(widget_width > coldim[i]) { @@ -263,6 +262,7 @@ numcol = i; } } + rowdim = ucx_list_append(rowdim, (void*)(intptr_t)rheight); sumh += rheight; } @@ -284,7 +284,13 @@ int i=0; UCX_FOREACH(elm, row->data) { Widget w = elm->data; - XtVaSetValues(w, XmNx, x, XmNy, y, NULL); + XtVaSetValues( + w, + XmNx, x, + XmNy, y, + XmNwidth, coldim[i], + XmNheight, rowdim->data, + NULL); x += coldim[i]; i++;