home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!unipalm!uknet!lsl!snail
- From: snail@lsl.co.uk
- Newsgroups: comp.windows.x.motif
- Subject: Re: Another Row Column Question
- Message-ID: <1993Jan26.160210.2988@lsl.co.uk>
- Date: 26 Jan 93 16:02:10 GMT
- References: <765367d8620440t1@lha.infoserv.com>
- Organization: Laser-Scan Ltd., Cambridge
- Lines: 42
-
- In article <765367d8620440t1@lha.infoserv.com>,
- nodename@nodename.infoserv.com (Your Full Name), Company Name or other
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Description writes:
- ^^^^^^^^^^^
-
- OK nodename :-), here goes...
-
- > 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?
-
- Well using XmText gives you resources (defaults shown) called
-
- XmNmarginHeight 5
- XmNmarginWidth 5
-
- Well using XmLabel gives you resources (defaults shown) called
-
- XmNmarginHeight 2
- XmNmarginWidth 2
-
- This is probably what you are seeing.
-
- > 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).
-
- Yes, don't you just *LURVE* XmRowColumns :-)
- --
- snail@lsl.co.uk
-
- "Washing one's hands of the conflict between the powerful and the powerless
- means to side with the powerful, not to be Neutral."
- Quote by Freire.
- Poster by OXFAM.
-