Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!ben From: ben@hpcvlx.HP.COM (Benjamin Ellsworth) Newsgroups: comp.windows.x Subject: Re: Problem resizing widgets Message-ID: <100920084@hpcvlx.HP.COM> Date: 29 Jun 89 20:43:59 GMT References: <9750@boulder.Colorado.EDU> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 25 > ... > Once the workspaces have been created, I call XtResizeWidget > on them, to make them the right sizes, but it doesn't work. I've > tried every trick I could think of, and none of them work. Try using XtSetValues (XtNwidth, XtNheight) instead of XtResizeWidget. The HP widgets were written with the philosophy that the manager widget has the final say regarding any of its children's sizes. Having the application calling XtResizeWidget subverts (i.e. breaks ;-) this paradigm. I believe that this paradigm (the parent controls the children's geometry, not the application) is the operative principle throughout the Xt Intrinsics. > Bill ----------------------------------------------------------------------- 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. -----------------------------------------------------------------------