Re: Strange toolbar/view/resize cursor interaction
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