NSDrawer Constants documented incorrectly
NSDrawer Constants documented incorrectly
- Subject: NSDrawer Constants documented incorrectly
- From: Jake <email@hidden>
- Date: Sat, 1 Dec 2001 02:23:22 -0500 (EST)
I would like a drawer to always open from the top. So I tried:
[myDrawer openOnEdge:NSMinYEdge];
however, it did just the opposite according to the documented constants:
I needed NSMaxYEdge to accomplish the "always on top" behavior. Here is
the exert from the documentation:
The following constants are defined in Foundation/NSGeometry.h and can be
used to specify window edges:
Constant Description
NSMinXEdge The left edge of a window.
NSMinYEdge The top edge of a window.
NSMaxXEdge The right edge of a window.
NSMaxYEdge The bottom edge of a window.
is this a known issue?
jake