Re: Window Max Zoom Size
Re: Window Max Zoom Size
- Subject: Re: Window Max Zoom Size
- From: Clark Cox <email@hidden>
- Date: Fri, 13 Feb 2009 11:53:21 -0800
On Fri, Feb 13, 2009 at 11:40 AM, Anthony Smith
<email@hidden> wrote:
> 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.
People have already pointed to the
-windowWillUseStandardFrame:defaultFrame: delegate method. This is
exactly what you need. Implement that method on your window's
delegate, and return the rectangle that you want to use for the zoomed
state.
You're doing yourself a disservice not reading the documentation that
many people have pointed you to so far.
--
Clark S. Cox III
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