Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!rpi!uupsi!mstr!mstr!beau1029 From: beau1029@mstr.hgc.edu (donald beaudry) Newsgroups: comp.windows.x.motif Subject: Re: form dialog resizes itself when I change a button label. Message-ID: <1991Jun26.044727.26088@mstr.hgc.edu> Date: 26 Jun 91 04:47:27 GMT References: <1991Jun20.015841.7418@porthos.cc.bellcore.com> Sender: Usenet@mstr.hgc.edu (Action News Central) Reply-To: beau1029@mstr.hgc.edu Organization: The Hartford Graduate Center Lines: 6 Nntp-Posting-Host: sa2.hgc.edu Here the possible solution: the label widget and gadget classes contain an XmNrecomputeSize resource. Set this resize to false. If you still don't get the desired result, set the button's labelString to the longest possible value when you create it, and then do a SetValues to set the recomputeSize resource to false.