Re: Window Max Zoom Size
Re: Window Max Zoom Size
- Subject: Re: Window Max Zoom Size
- From: Anthony Smith <email@hidden>
- Date: Fri, 13 Feb 2009 14:40:31 -0500
When a zoom is performed on a window I want to be able to specify the
width or height it will zoom out to. Similar to Safari/WebKit's
variable zoom size.
On Feb 13, 2009, at 2:31 PM, Jean-Daniel Dupas wrote:
Le 13 févr. 09 à 20:15, Ken Thomases a écrit :
On Feb 13, 2009, at 1: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!
You want the -windowWillUseStandardFrame:defaultFrame: delegate
method. Its return value is the "best" size for the window.
I don't understand what you mean by "zoom size", but If you're
looking for a max window size, you can set it in IB, in the size
settings, or using the -[NSWindow setMaxSize:]
_______________________________________________
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