[comp.windows.x] Athena Form widget - alignment problems?

gnb@bby.oz.au (Gregory N. Bond) (02/20/91)

As an aside: I am using a Frame with two Command buttons and the Label
like so:
  +-----------------+
  |<btn1>     <Btn2>|
  +-----------------+
  |                 |
  |                 |
  |  Label          |
  |                 |
  |                 |
  +-----------------+

The form constraints are set up as below:
! Layouts
!
*drawingsurface.resizable: true
Ari.frame.optionsbutton.fromHoriz: *quitbutton
Ari.frame.drawingsurface.fromVert: *quitbutton
! Stop the buttons being resized
Ari.frame.quitbutton.left: ChainLeft
Ari.frame.quitbutton.right: ChainLeft
Ari.frame.optionsbutton.left: ChainRight
Ari.frame.optionsbutton.right: ChainRight
Ari.frame.Command.top: ChainTop
Ari.frame.Command.bottom: ChainTop
Ari.frame.drawingsurface.top: ChainTop
Ari.frame.drawingsurface.left: ChainLeft
Ari.frame.drawingsurface.right: ChainRight

! The actual drawing surface - use a label!
*drawingsurface.wcClassName: Label
*drawingsurface.label: This is where drawing happens


The problem is the right hand edge of the options button (<btn2>)
doesn't line up with the right hand edge of the Label.  What is wrong?
--
Gregory Bond, Burdett Buckeridge & Young Ltd, Melbourne, Australia
Internet: gnb@melba.bby.oz.au    non-MX: gnb%melba.bby.oz@uunet.uu.net
Uucp: {uunet,pyramid,ubc-cs,ukc,mcvax,prlb2,nttlab...}!munnari!melba.bby.oz!gnb