Re: NSDrawer and preferredEdge
Re: NSDrawer and preferredEdge
- Subject: Re: NSDrawer and preferredEdge
- From: Andreas Mayer <email@hidden>
- Date: Wed, 4 Sep 2002 22:27:25 +0200
Am Mittwoch, 04.09.02 um 20:37 Uhr schrieb Douglas Davidson:
if a drawer has already been opened, the current algorithm prefers the
edge it has been opened on.
How would it know if I just started the app? (There's nothing in the
defaults .plist either.)
If you want to control which edge a drawer opens on, you must use
-openOnEdge:.
But when I use openOnEdge: it doesn't care if there's enough room on
that side ...
I want the drawer to prefer the egde where it opened last time.
*And* I want to preserve that state inside my document.
*And* I do _not_ want it to open on a side where there is not enough
room.
How would I do that?
It would be easy, if open: honored the preferredEdge.
Looks like it's a bit _too_ smart right now. ;)
bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.