ui/motif/window.c

changeset 60
7cd1b8890302
parent 36
e4198fc2ead4
child 61
7ee124a58fe3
--- 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);
       

mercurial