Re: Problem with NSWindow setFrame
Re: Problem with NSWindow setFrame
- Subject: Re: Problem with NSWindow setFrame
- From: j o a r <email@hidden>
- Date: Thu, 19 Jun 2008 00:05:36 -0700
On Jun 18, 2008, at 11:50 PM, kalpana k wrote:
window setFrame: NSMakeRect(0,0,1024,1200)
Should this not be something more like:
NSMakeRect(0.0, -768.0, 1024.0, 1200.0)
Also note that, according to the documentation:
"Note that any NSWindow with a title bar automatically constrains
itself to the screen."
<http://developer.apple.com/documentation/Cocoa/Conceptual/WinPanel/Tasks/SizingPlacingWindows.html#//apple_ref/doc/uid/20000228-135785
>
j o a r
_______________________________________________
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