Re: disable manual resizing of NSWindow
Re: disable manual resizing of NSWindow
- Subject: Re: disable manual resizing of NSWindow
- From: "Sean McBride" <email@hidden>
- Date: Thu, 19 Jun 2008 16:13:12 -0400
- Organization: Rogue Research
On 6/18/08 3:40 PM, Uli Kusterer said:
>> In a NSWindow, I'd like to disable manual resizing(don't allow user
>> to drag the lower right corner to resize the window), only by
>> clicking 'max' and 'restore' icons, possible? the reason is, I put a
>> QuickTIme's movieview in the window and the preserving aspect ratio
>> is on, manual resizing will not do good.
>
>
> Huh? You're not making sense here... an NSWindow can be told to
>maintain an aspect ratio when resizing (or a grid step size). Wouldn't
>it be much better to just set that up correctly instead of removing
>the grow box?
Well, the window can be told to keep an aspect ratio, but unless the QT
view fills the entire window's content, it's not too useful. NSWindow's
resize delegate methods would probably be more useful.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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