Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!nap1!asdcds!staatsvr From: staatsvr@asdcds.cds.wpafb.af.mil (Vern Staats; ASD/SCED;) Newsgroups: comp.windows.x Subject: Problem with Xaw Form and Box widgets Keywords: Xaw athena widgets form box resizable Message-ID: <222@nap1.cds.wpafb.af.mil> Date: 18 Jul 89 17:48:21 GMT Sender: news@nap1.cds.wpafb.af.mil Lines: 48 Hello, X-Netters I've run into a bit of difficulty converting an X10R4 application to X11R3 under DEC Ultrix 3.0. I'm fairly new to using Xt and the Athena widget set (and even newer to usenet), so this may be a dumb question. Here's what I'm trying to do: +--------------------------------------+ | || | | +----------------------------------+ | | | | | ||, = | | ^ | | The double lines indicate | | | | | where I've chained a widget |=| <--canvas--> |=| to be a fixed distance from | | | | | the edge of the enclosing | | V | | Form widget. | | | | | +----------------------------------+ | | || | | +----------------------+ | | | button-box | | | +----------------------+ | | Form || | +--------------------------------------+ The "canvas" widget is a Label (for now) and should resize in conjunction with its parent Form. I'd like button-box to maintain a fixed size based on the font used in its command buttons. I've tried button-box as both a Box and a Form widget. In both cases it resizes when I resize its parent Form, even if I've set the XtNresizable attribute to false for button-box and the buttons inside it. Two questions: 1) Does XtNresizable really work? 2) Is there a way to force all buttons in a Box widget to stay on the same row? Just making the box wide enough (XtNwidth) doesn't seem to work. Thanks in advance. Note: If replying by mail, please edit the "To:" field to staatsvr@asd.wpafb.af.mil, our netnews system seems to be having an identity crisis. Boolean orthogonal(char *my_opinions, char *employer_opinions) {return(TRUE);} INET: staatsvr@asd.wpafb.af.mil /// Honey, I UUCP: nap1!asd!staatsvr \\\/// dereferenced Vern Staats, ASD/SCED, WPAFB OH 45433, 513-255-2714 \XX/ the kids