Re: Goofy NSDrawer behavior
Re: Goofy NSDrawer behavior
- Subject: Re: Goofy NSDrawer behavior
- From: Leslie Orchard <email@hidden>
- Date: Mon, 23 Jul 2001 20:55:55 -0400
On Monday, July 23, 2001, at 05:50 PM, Douglas Davidson <email@hidden>
wrote:
>
On Sunday, July 22, 2001, at 03:02 PM, Steve Gehrman wrote:
>
>
> You can't resize an nsdrawer wider than your window, and you can't
>
> resize your window to be less wide than your drawer. This is really
>
> annoying and should be an optional behavior.
>
>
This is part of the fundamental design specification for drawers, and is
>
not likely to change soon. (...snip...)
>
>
If you want additional optional space that is larger than the main
>
window area, you have a number of other options. (...snip...)
>
Consider, for example, the large and small versions of the save panel
>
(...snip...)
>
Douglas Davidson
Actually, now that I look at it, that behavior of the save panel is
precisely what I want, the way it toggles between a small, unresizable
simple window up to a larger, resizable window. And it even remembers and
tweens between the two states.
I don't suppose you'd know where I might find some sample code on how the
save panel implements this, would you? I'm imagining there's something
with adding/removing components from their superview and resizing, but I
haven't yet gotten my hands dirty with it...
--
Leslie Michael Orchard <email@hidden>
ICQ: 492905 (home) 11082089 (work)
"...see you space cowboy..."