• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Reveal Drawer" button in title bars
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >RE: "Reveal Drawer" button in title bars (From: Jeff Laing <email@hidden>)

  • Prev by Date: Re: "Reveal Drawer" button in title bars
  • Next by Date: Re: Framework Nibs Not Loading 10.4 to 10.3
  • Previous by thread: RE: "Reveal Drawer" button in title bars
  • Next by thread: Re: "Reveal Drawer" button in title bars
  • Index(es):
    • Date
    • Thread