Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!montnaro From: montnaro@spyder.crd.ge.com (Skip Montanaro) Newsgroups: comp.windows.x.motif Subject: How do you center a widget within a form? Message-ID: Date: 27 Mar 91 18:58:51 GMT Sender: news@crdgw1.crd.ge.com Reply-To: montanaro@crdgw1.ge.com (Skip Montanaro) Organization: GE Corporate Research & Development, Schenectady, NY Lines: 10 All the *Attachment constraint resources in the XmForm widget relate to the edges of the widget. Not knowing the size of the form and, say, a PushButton widget (for instance, at creation time), how do you specify that the button should be centered left-to-right within the form? It would be nice if you could specify center{Attachment,Position,Offset,Widget} resources. Thanks, -- Skip (montanaro@crdgw1.ge.com)