home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / motif / 8867 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.8 KB

  1. Path: sparky!uunet!pipex!unipalm!uknet!lsl!snail
  2. From: snail@lsl.co.uk
  3. Newsgroups: comp.windows.x.motif
  4. Subject: Re: Another Row Column Question
  5. Message-ID: <1993Jan26.160210.2988@lsl.co.uk>
  6. Date: 26 Jan 93 16:02:10 GMT
  7. References: <765367d8620440t1@lha.infoserv.com>
  8. Organization: Laser-Scan Ltd., Cambridge
  9. Lines: 42
  10.  
  11. In article <765367d8620440t1@lha.infoserv.com>,
  12. nodename@nodename.infoserv.com (Your Full Name), Company Name or other
  13. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  14. Description writes:
  15. ^^^^^^^^^^^
  16.  
  17. OK nodename :-), here goes...
  18.  
  19. > I have a question concerning manipulation of child widgets in
  20. > a RowColumn wiget.  I am trying to create a spreadsheet-like
  21. > display consisting of rows of text and label widgets.
  22. > 1) I am trying to eliminate the spacing between the child widgets.
  23. >    I have tried XmNspacing. When set to zero, there still exist a
  24. >    gap between widgets, and if I set the value negative, well...
  25. >    it bounce back to default. Is there something I'm missing?
  26.  
  27. Well using XmText gives you resources (defaults shown) called
  28.     
  29.     XmNmarginHeight        5
  30.     XmNmarginWidth        5
  31.  
  32. Well using XmLabel gives you resources (defaults shown) called
  33.  
  34.     XmNmarginHeight        2
  35.     XmNmarginWidth        2
  36.  
  37. This is probably what you are seeing.
  38.  
  39. > 2) I am having problems trying to get the text to be centered on
  40. >    labels on a rowcolumn widget. XmNalignment does not seems to 
  41. >    have any affect on the positioning (whether I set it on the 
  42. >    rowcolumn or the child).
  43.  
  44. Yes, don't you just *LURVE* XmRowColumns :-)
  45. -- 
  46. snail@lsl.co.uk      
  47.  
  48. "Washing one's hands of the conflict between the powerful and the powerless
  49.  means to side with the powerful, not to be Neutral."
  50.                                                      Quote by Freire.
  51.                                                      Poster by OXFAM.
  52.