FROM : Sean McBride
DATE : Thu Jun 19 22:13:12 2008
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_removed>
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
DATE : Thu Jun 19 22:13:12 2008
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_removed>
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
| Related mails | Author | Date |
|---|---|---|
| Angelo Chen | Jun 18, 15:15 | |
| Apparao Mulpuri | Jun 18, 15:28 | |
| Jean-Daniel Dupas | Jun 18, 15:35 | |
| Uli Kusterer | Jun 18, 15:40 | |
| Sean McBride | Jun 19, 22:13 |






Cocoa mail archive

