home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.motif
- Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!news.dfrf.nasa.gov!fred.dfrf.nasa.gov!todd
- From: todd@fred.dfrf.nasa.gov (Todd Vernon)
- Subject: Centering button in form ?
- Message-ID: <1992Dec22.175107.3484@news.dfrf.nasa.gov>
- Sender: news@news.dfrf.nasa.gov (Usenet news)
- Reply-To: todd@fred.dfrf.nasa.gov (Todd Vernon)
- Organization: Clarkson
- Date: Tue, 22 Dec 1992 17:51:07 GMT
- Lines: 25
-
-
- Easy Question,....but not for me....
-
- -------------------------------
- | ---------------- |
- | | | |
- | --XmPushButton-- |
- ------------------------XmForm-
-
- I want to keep the button centered
- inside the form horizontally and
- also keep the button the same width
- all the time.
-
- Using XmATTACH_POSITION you can set
- a percent for left and right, but this
- still changes the button width as
- the form gets bigger. XmATTACH_FORM
- with offsets have a similar problem.
-
- Surely this sort of management isn't
- beyond what the form can do, I think
- I must be missing something.
-
- todd@fred.dfrf.nasa.gov
-