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

  1. Newsgroups: comp.windows.x.motif
  2. From: bryan@alex.com (Bryan Boreham)
  3. Return-Path: <news>
  4. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!spool.mu.edu!agate!doc.ic.ac.uk!pipex!demon!alex.com!bryan
  5. Subject: Re: Another Row Column Question
  6. Nntp-Posting-Host: felix
  7. Organization: Alex Technologies Ltd, London, England
  8. References: <765367d8620440t1@lha.infoserv.com> <1993Jan28.115604.165658@dstos3.dsto.gov.au>
  9. Apparently-To: mail2news@demon.co.uk
  10. Date: Thu, 28 Jan 1993 10:07:54 +0000
  11. Message-ID: <1993Jan28.100754.6684@alex.com>
  12. Sender: usenet@demon.co.uk
  13. Lines: 15
  14.  
  15. In article <1993Jan28.115604.165658@dstos3.dsto.gov.au>, bindi@ewd.dsto.gov.au (Bindi Harding) writes:
  16. |> I've had a similar problem with RowColumn widgets.  I can't seem to centre the
  17. |> text on PushButtons which were placed in the RowColumn widget.  You're right,
  18. |> XmNalignment has no effect - the text always starts at the beginning.
  19.  
  20. Check out XmNentryAlignment and XmNisAligned on the RowColumn.
  21.  
  22. |> [...]  Menus are just fancy extensions of RowColumn widgets
  23.  
  24. I wish that this were true.  Didn't someone explain to the Motif programmers
  25. that Object-Oriented programs shouldn't have case statements?  Implementing
  26. five or six completely different UI components with a single WidgetClass
  27. must be some kind of record...
  28.  
  29. Bryan.
  30.