• 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: "l.m.orchard" <email@hidden>
  • Date: Sun, 26 Aug 2001 00:17:16 -0400

On Monday, July 23, 2001, at 01:19 AM, Steve Gehrman <email@hidden> wrote:

there is a limiting built in behavior with drawers that I would like to
turn off.

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.

I need to disable this confusing behavior.

I ran into this problem, too, but like everyone else is saying.. there's not really a way to easily disable this. A drawer is literally a window/panel thing which is made visible behind your window and then is animated moving out. Unless you implemented something which somehow resizes or hides the part of your drawer which sticks out the opposite side of your window, you'd see it.

If you have a panel of controls which is bigger than your window, a Drawer is not really appropriate. You might want to think about a disclosure triangle on your window that dynamically enlarges the window and swap in an offscreen panel. Not automated, and sometimes messy, but that's another standard way of doing things. (See the Classic Startup, Process Viewer, etc..)

--
Leslie Michael Orchard <email@hidden>
ICQ: 492905 (home) 11082089 (work)
"...see you space cowboy..."


  • Prev by Date: Re: Fun and games with Applescript "Standard Suite" in Cocoa app
  • Next by Date: Crash during resize & overriding drawRect on NSMatrix
  • Previous by thread: Re: Goofy NSDrawer behavior
  • Next by thread: Re: Fun with NSRunLoop <solved>
  • Index(es):
    • Date
    • Thread