home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / motif / 8898 < prev    next >
Encoding:
Text File  |  1993-01-28  |  2.1 KB  |  51 lines

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