• 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: NSDrawer and preferredEdge
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDrawer and preferredEdge


  • Subject: Re: NSDrawer and preferredEdge
  • From: Andreas Mayer <email@hidden>
  • Date: Wed, 4 Sep 2002 22:27:25 +0200

Am Mittwoch, 04.09.02 um 20:37 Uhr schrieb Douglas Davidson:

if a drawer has already been opened, the current algorithm prefers the edge it has been opened on.

How would it know if I just started the app? (There's nothing in the defaults .plist either.)

If you want to control which edge a drawer opens on, you must use -openOnEdge:.

But when I use openOnEdge: it doesn't care if there's enough room on that side ...


I want the drawer to prefer the egde where it opened last time.
*And* I want to preserve that state inside my document.
*And* I do _not_ want it to open on a side where there is not enough room.

How would I do that?

It would be easy, if open: honored the preferredEdge.
Looks like it's a bit _too_ smart right now. ;)


bye. Andreas.
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSDrawer and preferredEdge
      • From: Greg Hulands <email@hidden>
References: 
 >Re: NSDrawer and preferredEdge (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: cannot convert `_objc_class*' to `objc_object*' in argument passing
  • Next by Date: NSNumberFormatter and literal spaces
  • Previous by thread: Re: NSDrawer and preferredEdge
  • Next by thread: Re: NSDrawer and preferredEdge
  • Index(es):
    • Date
    • Thread