Re: drawers closes, but is visible
Re: drawers closes, but is visible
- Subject: Re: drawers closes, but is visible
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 26 Oct 2002 15:49:55 -0400
on 02-10-26 3:31 PM, Paul Cezanne at email@hidden wrote:
>
At 8:34 AM -0700 10/26/02, matt neuburg wrote:
>
> Well, you've answered your own question. You're not supposed to do that - a
>
> drawer must be smaller than its window. This has come up many times, so
>
> please check the archives. m.
>
>
thanks, I'll look into that fix. Seems like a dumb restriction. (And yes, I
>
spent about 3 hours searching the archives, didn't come across that tidbit, or
>
at least didn't see the significance of it.)
>
>
This behavior is both new in Jaguar and not all that useful. If there is an
>
assertion of fact about drawers, perhaps NSDrawer could NSLog the failure as
>
opposed to just doing something unexpected. There is no good reason for
>
NSDrawer to have this behavior.
From your original description of what you were doing, it struck me that the
problem isn't just having a drawer that's too large. I couldn't put my
finger on it, though. But Matt's right, you shouldn't make it larger than
its parent window. In fact, you aren't supposed to set its height (for a
left or right drawer) at all, but let Cocoa calculate it for you.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
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.