Weird widget size problem with X11 and Motif
Weird widget size problem with X11 and Motif
- Subject: Weird widget size problem with X11 and Motif
- From: "Dave Williss" <email@hidden>
- Date: Thu, 10 Jul 2003 14:21:47 -0500
I have a strange size problem using Apple's X11 (The beta 3 version)
and a Motif window. If I create a window using XmCreateFormDialog()
and then later call a function that eventually does...
XtSetArg(arg[0], XmNheight, 100);
XtSetArg(arg[1], XmNwidth, 100);
XtSetValues(form, arg, 2);
The resulting form is 122 pixels high. It just so happens that the title
bar that quartz-wm puts on the dialog is 22 pixels high. This only happens
using Apple's X11 with quartz-wm, not with other X servers (I have not tried
other window managers with apple's X11 - not sure how to do that).
It doesn't seem to matter if the widget I'm resizing is the main form of the
dialog or some widget inside it. It happens if I resize an XmDrawingArea
child of the form too.
-- Dave Williss
------
Meddle not in the affairs of dragons,
for you are crunchy and taste good with catsup
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.