home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!math.fu-berlin.de!uni-paderborn.de!not-for-mail
- From: poepping@warhol.uni-paderborn.de (Manfred Poepping)
- Newsgroups: comp.windows.x.motif
- Subject: Centering a PushButton in a Form :-)
- Date: 28 Dec 1992 11:57:29 +0100
- Organization: Universitaet Paderborn, Germany
- Lines: 33
- Distribution: world
- Message-ID: <1hmmipINN2qq@warhol.uni-paderborn.de>
- NNTP-Posting-Host: warhol.uni-paderborn.de
-
-
- Hello,
-
- I'm surprised how many people have problems centering a
- PushButton in a Form. To give the discussion a new
- direction - how about that (only Motif 1.2):
-
- XmForm
- |
- +--> XmFrame : XmNshadowThicknes - 0
- | XmNleftAttachment - XmATTACH_FORM
- | XmNrightAttachment - XmATTACH_FORM
- | XmNbottomAttachment - XmATTACH_FORM
- |
- +--> XmPushButton : XmNchildType - XmFRAME_TITLE_CHILD
- XmNchildHorizontalAlignment - XmALIGNMENT_CENTER
-
-
-
-
- Any comments? :-)
-
- Btw: I wish all of you out there a happy new year.
-
- -------------------------------------------------------------------------------
-
- Dipl.-Inf. Manfred Poepping
- Universitaet Paderborn
- Fachbereich 17 - Informatik
- Postfach 1621
- D-4790 Paderborn
- Tel.: 05251-60-2076
- poepping@uni-paderborn.de
-