Re: Window Max Zoom Size
Re: Window Max Zoom Size
- Subject: Re: Window Max Zoom Size
- From: Andy Lee <email@hidden>
- Date: Fri, 13 Feb 2009 14:26:11 -0500
Did you look closely at the docs for zoom: before overriding it? Did
you try Joar's suggestion to look at NSWindow's delegate methods?
What I'm getting at is... I think
windowWillUseStandardFrame:defaultFrame: is what you want, though I
haven't tried it myself.
--Andy
On Feb 13, 2009, at 2:06 PM, Anthony Smith wrote:
I'm surprised there isn't a maxZoomSize or something. This doesn't
look like it deals with zoom just resizing in general. I'm new to
Mac development so I could just be missing something. Thanks for the
input!
Anthony Smith
On Feb 12, 2009, at 11:39 PM, John C. Randolph wrote:
On Feb 12, 2009, at 9:42 AM, Anthony Smith wrote:
What is the best way to set the max zoom size for NSWindow? I was
able to implement a solution by overriding zoom but that feels
rather invasive so I'm assuming there's probably a better way.
Check the docs for -windowWillResize:toSize:.
-jcr
_______________________________________________
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
_______________________________________________
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