[comp.windows.x.motif] 1x1 sized widgets

dj@ctron.com (DJ Delorie) (05/23/91)

In one of our applications, after going through a specific pattern of
create/manage/unmap/map/destroy sequences on various widgets, and then
trying to create a form with a label in it, the label shrinks to 1x1
pixels!  The _WidgetRec has the proper values in it until
XtManageChild() is called, and then the width and height are each set
to one.  I've tried all sorts of XmNresizePolicy and XmNallowResize
settings to no avail.  This form/label works properly if the above
mentioned sequence isn't performed first.  The form widget remains the
correct size.

Has anyone seen anything like this and found out what's happening?
We've got Motif 1.1.2 and X11R4, and I can provide more information if
needed.

DJ
dj@ctron.com