Re: "Reveal Drawer" button in title bars
Re: "Reveal Drawer" button in title bars
- Subject: Re: "Reveal Drawer" button in title bars
- From: Cameron Hayne <email@hidden>
- Date: Mon, 23 May 2005 02:01:41 -0400
On 22-May-05, at 10:56 PM, Jeff Laing wrote:
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.
You could just copy the code that I have in my "IsingCocoa" app where
I similarly want a view to retain its aspect ratio rather than the
whole window.
Look at the method windowWillResize: toSize: in IsingWindowCtl.m
http://hayne.net/MacDev/IsingCocoa/
--
Cameron Hayne
email@hidden
_______________________________________________
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