Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!HPCVXBEN.CV.HP.COM!ben From: ben@HPCVXBEN.CV.HP.COM (Benjamin Ellsworth) Newsgroups: comp.windows.x.motif Subject: Re: Changing XmNrightOffset in a form widget Message-ID: <9008171647.AA17451@hpcvxben.HP.COM> Date: 17 Aug 90 16:47:13 GMT References: <2144@ns-mx.uiowa.edu> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 22 > Is there any way to avoid unmanaging and then managing the "Form" to > change the XmNrightOffset resource? Depends on the parent of the outer form. My guess is that the offset value is indeed being changed in the internal data structures, but when the outer form tries to change size to accomodate the new values, its parent says "No." Hence no layout is performed. I'd bet that if you could jog size of the outer form you would see the layout you want. I don't know of any neat work-arounds for this one in 1.0. A sleazy tactic that might work would be to call XtResizeWidget on the outer form and resize it to its CURRENT (at the time of the call) size. ----------------------------------------------------------------------- Benjamin Ellsworth | ben@cv.hp.com | INTERNET Hewlett-Packard Company | {backbone}!hplabs!hp-pcd!ben | UUCP 1000 N.E. Circle | (USA) (503) 750-4980 | FAX Corvallis, OR 97330 | (USA) (503) 757-2000 | VOICE ----------------------------------------------------------------------- All relevant disclaimers apply. -----------------------------------------------------------------------