Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!ncar!ico!attc!marbru From: marbru@attc.UUCP (Martin Brunecky) Newsgroups: comp.windows.x.motif Subject: Re: sometimes I cannot resize my XmLabel widgets to the size I want Message-ID: <955@attc.UUCP> Date: 8 Jan 91 01:37:01 GMT References: <11227@cae780.csi.com> Reply-To: marbru@auto-trol.UUCP (Martin Brunecky) Distribution: usa Organization: Auto-trol Technology, Denver Lines: 30 In article <11227@cae780.csi.com> digger@csi.com (Doug Selph) writes: > The GeometryManager of the axis widget says 'XtGeomentryNo' >all the time. The axis parent widget wants full control over >all it's label children, all the time, no exceptions. > May be we need a more detailed description of what you are trying to do. Is it the "axis" widget that is creating and controlling your labels ? Or are the labels put up by some other widget ? I would *think* that your axis widget creates and controls labels using XtConfigureWidget. The Geometry manager in your axis widget must respond to geometry requests from your labels. Those come as a result of SetValues on the label, and since I'v seen (and wrote) widgets that for some reasons munge geometry both in "new" and "current" instance, my geometry managers ALWAYS configure widgets, even when they respond with XtGeometryNo. (Note XtConfigureWidget will do nothing if the geometry does not change). Also. Your geometry manager should NOT use XtQueryGeometry on the child requesting a change. You can do it in ChangeManaged (but keep on mind that Motif widgets not always return waht you would expect, even though I was beaten on this subject -). -- =*= Opinions presented here are solely of my own and not those of Auto-trol =*= Martin Brunecky {...}sunpeaks!auto-trol!marbru (303) 252-2499 (sometimes also: marbru@auto-trol.COM ) Auto-trol Technology Corp. 12500 North Washington St., Denver, CO 80241-2404