Re: Palettes not taking advantage of fullscreen mode
Re: Palettes not taking advantage of fullscreen mode
- Subject: Re: Palettes not taking advantage of fullscreen mode
- From: Lee Ann Rucker <email@hidden>
- Date: Tue, 30 Jul 2013 11:50:54 -0700
On Jul 30, 2013, at 10:31 AM, Steve Mills wrote:
> We have some palettes (NSPanel subclasses) that stay visible in fullscreen mode. When the doc window enters fullscreen, I'm moving these the appropriate amount so they're still snapped to the top of the visible portion of the screen. However, something is causing the palettes to move back into the pre-fullscreen screen bounds as if the menubar is still visible. The palette's constrainFrameRect:toScreen: is being called with nil for the screen. If I let the super handle this, it repositions it as if the menubar were still visible. Why? Is that supposed to be standard behavior? If so, I guess I'll override constrainFrameRect:toScreen: so it doesn't do that.
The Apple sample code for fullscreen custom animation overrides constrainFrameRect:toScreen: so I assume the default implementation isn't fullscreen-savvy.
_______________________________________________
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