diff -r eb6611be50c7 -r 7cd1b8890302 ui/motif/window.c --- a/ui/motif/window.c Thu Jan 01 11:23:43 2015 +0100 +++ b/ui/motif/window.c Thu Jan 01 14:13:37 2015 +0100 @@ -101,6 +101,7 @@ Widget toolbar = ui_create_toolbar(obj, form); + // window content XtSetArg(args[0], XmNshadowType, XmSHADOW_ETCHED_OUT); XtSetArg(args[1], XmNshadowThickness, 0); @@ -115,11 +116,13 @@ XtSetArg(args[5], XmNtopAttachment, XmATTACH_FORM); n = 6; } - Widget frame = XmCreateFrame(form, "toolbar_frame", args, n); + Widget frame = XmCreateFrame(form, "content_frame", args, n); XtManageChild(frame); - obj->container = ui_frame_container(obj, frame); - + Widget content_form = XmCreateForm(frame, "content_form", NULL, 0); + XtManageChild(content_form); + obj->container = ui_vbox_container(obj, content_form); + //obj->container = ui_frame_container(obj, frame); XtManageChild(form);