Path: utzoo!attcan!uunet!lll-winken!ames!purdue!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!converse From: converse@EXPO.LCS.MIT.EDU (Donna Converse) Newsgroups: comp.windows.x Subject: Re: Athena Form Widget Bug? Message-ID: <8904271705.AA04108@expo.lcs.mit.edu> Date: 27 Apr 89 17:05:32 GMT References: <1681@rpi.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: X Consortium, MIT Laboratory for Computer Science Lines: 26 >Here is what I want to do: > a) create a form widget. > b) add 3 labels, positioned as I want. > c) make the labels un-resizable. >Here is what happens: > a) the labels get created. > b) they are the wrong size (I ask for 25x30, the estimated > actual size is 100x100) > c) they resize when the window is resized. Read the very recent posting of Chris Peterson, Re: dialog, label, and transient shell widget problems It contains a description of the form widget resources which will answer your questions. Try XtSetArg(arg[n], XtNtop, XtChainTop); n++; XtSetArg(arg[n], XtNleft, XtChainLeft); n++; XtSetArg(arg[n], XtNbottom, XtChainTop); n++; XtSetArg(arg[n], XtNright, XtChainLeft); n++; The labels will have the originally requested size, and will not resize, when this code is added to your original example code.