• 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: Lloyd Sargent <email@hidden>
  • Date: Mon, 23 Jul 2001 08:52:12 -0500

On Monday, July 23, 2001, at 12:18 AM, email@hidden wrote:

This is done because it would look very strange for a 600 pixel wide
drawer to slide under a 200 pixel wide window (without sticking out the
back side). Like a magic trick where 50 clowns come out of a small
compact car. You could probably make your own subclass of NSDrawer and
override its methods to allow the behavior you want. This will take some
experimenting of which methods need to be overridden. My guess is you'll
need to override (set)maxContentSize, (set)contentSize,
initWithContentSize:preferredEdge:, open(:) and close(:), and maybe more.

Another problem is that during the sliding animation, one can see the
drawer at the other side of the window (since it's just another window
which moves around behind the main window).

andy
--
Discussion forthcoming.

I think what you would end up with is yet ANOTHER "Genie effect" as the edges of the drawer "unsquooshed".

Cheers,

Lloyd
-----
Canna Software Development
"while (!dead) [self beat_horse];" anon


  • Prev by Date: Re: DO vs NSLock with threads and AppKit
  • Next by Date: Interthread comms for progress bars
  • Previous by thread: Re: Goofy NSDrawer behavior
  • Next by thread: Re: Goofy NSDrawer behavior
  • Index(es):
    • Date
    • Thread