home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / motif / 8230 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  1.3 KB

  1. Path: sparky!uunet!math.fu-berlin.de!uni-paderborn.de!not-for-mail
  2. From: poepping@warhol.uni-paderborn.de (Manfred Poepping)
  3. Newsgroups: comp.windows.x.motif
  4. Subject: Centering a PushButton in a Form :-)
  5. Date: 28 Dec 1992 11:57:29 +0100
  6. Organization: Universitaet Paderborn, Germany
  7. Lines: 33
  8. Distribution: world
  9. Message-ID: <1hmmipINN2qq@warhol.uni-paderborn.de>
  10. NNTP-Posting-Host: warhol.uni-paderborn.de
  11.  
  12.  
  13.     Hello,
  14.  
  15.     I'm surprised how many people have problems centering a
  16.     PushButton in a Form. To give the discussion a new
  17.     direction - how about that (only Motif 1.2):
  18.  
  19.     XmForm
  20.      |
  21.      +--> XmFrame : XmNshadowThicknes - 0
  22.            |        XmNleftAttachment - XmATTACH_FORM
  23.            |        XmNrightAttachment - XmATTACH_FORM
  24.            |        XmNbottomAttachment - XmATTACH_FORM
  25.            |
  26.            +--> XmPushButton : XmNchildType - XmFRAME_TITLE_CHILD
  27.                                XmNchildHorizontalAlignment - XmALIGNMENT_CENTER
  28.  
  29.  
  30.  
  31.  
  32.     Any comments?  :-)
  33.  
  34.     Btw: I wish all of you out there a happy new year.
  35.  
  36. -------------------------------------------------------------------------------
  37.  
  38.     Dipl.-Inf. Manfred Poepping
  39.     Universitaet Paderborn
  40.     Fachbereich 17 - Informatik
  41.     Postfach 1621
  42.     D-4790 Paderborn
  43.     Tel.: 05251-60-2076
  44.     poepping@uni-paderborn.de
  45.