In NSView.h:
enum {
  NSViewNotSizable      = 0,        // view does not resize with its superview
  NSViewMinXMargin      = 1,        // left margin between views can stretch
  NSViewWidthSizable    = 2,    // view's width can stretch
  NSViewMaxXMargin      = 4,        // right margin between views can stretch
  NSViewMinYMargin      = 8,        // top margin between views can stretch
  NSViewHeightSizable   = 16,   // view's height can stretch
  NSViewMaxYMargin      = 32        // bottom margin between views can stretch
};

That should be:

  NSViewMinYMargin      = 8,        // bottom margin between views can stretch
  NSViewHeightSizable   = 16,   // view's height can stretch
  NSViewMaxYMargin      = 32        // top margin between views can stretch

as can be checked with my test application at:
ftp://ftp.afaa.asso.fr/users/pascal/develop/gnustep/AutoresizingTest-1.0.1.tar.gz
ftp://ftp.afaa.asso.fr/users/pascal/develop/gnustep/AutoresizingTest-1.0.1.readme

-- 
__Pascal Bourguignon__    PGP Key ID:      0xEF5E9966
mailto:[EMAIL PROTECTED]    PGP fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 
http://www.imaginet.fr/~pjb/               6C DE 32 60 16 8E EF 5E 99 66




Reply via email to