Re: NSPanel doesn't reposition correctly after screen resize
Re: NSPanel doesn't reposition correctly after screen resize
- Subject: Re: NSPanel doesn't reposition correctly after screen resize
- From: Keary Suska <email@hidden>
- Date: Tue, 03 Sep 2013 10:28:50 -0600
On Sep 3, 2013, at 9:27 AM, Steve Mills wrote:
> We have an NSPanel that doesn't stay stuck to the menubar if you make the screen bigger. If you make the screen smaller, it goes through constrainFrameRect:toScreen and does the right thing. In the nib, the window has the strut set between the screen and window top, and nothing set on the bottom. What's wrong with this thing? It's as if it's stuck to the bottom of the screen instead of the top, and no user thinks that way.
Are you simply complaining out loud, or are you unfamiliar with the Cocoa drawing system? If it is the latter, all things will be made clear by reading this doc: https://developer.apple.com/library/mac/documentation/cocoa/conceptual/CocoaDrawingGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40003290-CH201-SW1
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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