• 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: Strange toolbar/view/resize cursor interaction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange toolbar/view/resize cursor interaction


  • Subject: Re: Strange toolbar/view/resize cursor interaction
  • From: Graham Cox <email@hidden>
  • Date: Mon, 21 Apr 2014 16:53:27 +1000

On 21 Apr 2014, at 6:23 am, Quincey Morris <email@hidden> wrote:

> More generally, though, you might reconsider using a NSToolbar at all. I guess the geometry of NSToolbar has always been "neither fish nor fowl" (that is, sort of part of the window frame, yet sort of part of the window content)


The toolbar view is actually added as a PEER of the window's content view, and the content view is resized to accommodate the toolbar when it is shown or hidden. Fairly horrid, but I guess it was done so that any assumptions that user content had about having exclusive use of the window's content view remained valid.

--Graham



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Strange toolbar/view/resize cursor interaction
      • From: Quincey Morris <email@hidden>
References: 
 >Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Ken Thomases <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Ken Thomases <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: canAsynchronouslyWriteToURL:ofType:forSaveOperation: Prevent Quit?
  • Next by Date: Re: Strange toolbar/view/resize cursor interaction
  • Previous by thread: Re: Strange toolbar/view/resize cursor interaction
  • Next by thread: Re: Strange toolbar/view/resize cursor interaction
  • Index(es):
    • Date
    • Thread