• 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: "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

References: 
 >RE: "Reveal Drawer" button in title bars (From: Jeff Laing <email@hidden>)

  • Prev by Date: Re: FYI: User feedback for LSMinimumSystemVersion
  • Next by Date: Re: FYI: User feedback for LSMinimumSystemVersion
  • Previous by thread: Re: "Reveal Drawer" button in title bars
  • Next by thread: RE: "Reveal Drawer" button in title bars
  • Index(es):
    • Date
    • Thread