• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Goofy NSDrawer behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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..."


  • Follow-Ups:
    • Re: Goofy NSDrawer behavior
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Obj-C vs Java
  • Next by Date: Re: Obj-C vs Java
  • Previous by thread: Re: Goofy NSDrawer behavior
  • Next by thread: Re: Goofy NSDrawer behavior
  • Index(es):
    • Date
    • Thread