Re: "Reveal Drawer" button in title bars
Re: "Reveal Drawer" button in title bars
- Subject: Re: "Reveal Drawer" button in title bars
- From: "Sean McBride" <email@hidden>
- Date: Tue, 24 May 2005 12:15:41 -0400
- Organization: Rogue Research
On 2005-05-23 12:56, Jeff Laing said:
>The lazy programmer wants it as well because I've used the 'setAspectRatio:'
>method to ensure that the contents of the window scale correctly as a
>square. Putting a fixed-size toolbar at the top of the window means I need
>to write a bunch more resizing code which I really didn't want to do.
>
>ie, I have a window which contains exactly one subview that is, and must
>remain, a square - Cocoa does all the work for you at resize time if the
>subview occupies the entire content area - I've assumed that the NSToolbar
>will force the content area to be non-square, and thus my fixed aspect ratio
>no longer applies.
Sounds like you want setContentAspectRatio: not setAspectRatio:
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden