home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!dstos3.dsto.gov.au!ewd!bindi
- Newsgroups: comp.windows.x.motif
- Subject: Re: Another Row Column Question
- Message-ID: <1993Jan28.115604.165658@dstos3.dsto.gov.au>
- From: bindi@ewd.dsto.gov.au (Bindi Harding)
- Date: 28 Jan 93 11:56:02 CST
- Sender: bindi@ewd (Bindi Harding)
- References: <765367d8620440t1@lha.infoserv.com>
- Distribution: world
- Organization: Defence Science and Technology Organisation, Salisbury, South Australia
- Nntp-Posting-Host: oberon.dsto.gov.au
- Lines: 37
-
- In article <765367d8620440t1@lha.infoserv.com>, "Your Full Name" <nodename@nodename.infoserv.com> writes:
- > I have a question concerning manipulation of child widgets in
- > a RowColumn wiget. I am trying to create a spreadsheet-like
- > display consisting of rows of text and label widgets.
- >
- > 1) I am trying to eliminate the spacing between the child widgets.
- > I have tried XmNspacing. When set to zero, there still exist a
- > gap between widgets, and if I set the value negative, well...
- > it bounce back to default. Is there something I'm missing?
- >
- > 2) I am having problems trying to get the text to be centered on
- > labels on a rowcolumn widget. XmNalignment does not seems to
- > have any affect on the positioning (whether I set it on the
- > rowcolumn or the child).
- >
- > Thanks in Advance,
- > R.
- >
- > ---------------------------------------------------------------
- >
- > Rocco Pochy | "Cage of Freedom"
- > Software Engineer -=+=- -Metropolis
- > Physicist in Training |
- >
-
- I've had a similar problem with RowColumn widgets. I can't seem to centre the
- text on PushButtons which were placed in the RowColumn widget. You're right,
- XmNalignment has no effect - the text always starts at the beginning.
-
- I haven't tried to eliminate the spacing between child widgets within a RowCol
- widget, but there must be a way to do it, since that method I think is used for
- menus. Menus are just fancy extensions of RowColumn widgets, and they don't
- have spaces between their widgets.
-
- I'd be interested to find out how you go with this too.
-
- Bindi
-