Re: NSDrawer Constants documented incorrectly
Re: NSDrawer Constants documented incorrectly
- Subject: Re: NSDrawer Constants documented incorrectly
- From: Donald Brown <email@hidden>
- Date: Sat, 01 Dec 2001 01:50:51 -0600
Known issue, but not a bug. Remember, under Quartz, 0,0 is in the
lower-left corner of the screen, with Y increasing upwards.
Donald
on 12/1/01 1:23 AM, Jake at email@hidden wrote:
>
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
>
_______________________________________________
>
cocoa-dev mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
--
Donald Brown
email@hidden
http://www.eamontales.com
We have met the enemy and he is us - Pogo