Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!mintaka!spdcc!dirtydog.ima.isc.com!ism.isc.com!ispd-newsserver!sydorow From: sydorow@bisco.kodak.com (Steve Sydorowicz) Newsgroups: comp.windows.x.motif Subject: Re: XmRowColumn wigets and label alignment (Motif 1.1 on a sun4c) Message-ID: <1991Jun18.181720.920@ssd.kodak.com> Date: 18 Jun 91 18:17:20 GMT References: <2779@cygnus.stsci.edu> Sender: news@ssd.kodak.com Organization: Eastman Kodak Lines: 20 > >I am running into a small problem with geometery management with the RowColumn >widget and label alignment. I am createing a RowColumn widget with the >packing set to XmPACK_COLUMN. I am then creating a bunch of push buttons >with the alignment set to XmALIGNMENT_CENTER. When I manage the children, >the buttons are packed properly, but they are all left justified rather than >centered. You need to set XmNentryAlignment in the RowColumn to XmALIGNMENT_CENTER. This resource overrides the Label settings and is by default "Left". Steve -- -------------------------------------------------------------------------------- Stephen J. Sydorowicz Azatar Computer Systems REPLY TO: sydorow@bisco.kodak.com (716)726-5636 Opinions expressed do not reflect those of my employer