• 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: Keeping NSView square
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keeping NSView square


  • Subject: Re: Keeping NSView square
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 19 Nov 2009 10:01:33 -0800

On Thu, Nov 19, 2009 at 12:22 AM, Andrew Farmer <email@hidden> wrote:
> To be more specific - I wasn't suggesting adjusting the size of the view at draw time, or refusing to draw the entire dirty rect, but simply performing the min(frame width, frame height) calculation at draw time and drawing the view's content into the minimized rect. -resizeWithOldSuperviewSize: sounds like an excellent alternative, though, and probably more on-target.

Oooh, that's a lot less bad.  :)

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Keeping NSView square (From: Henri Häkkinen <email@hidden>)
 >Re: Keeping NSView square (From: Andrew Farmer <email@hidden>)
 >Re: Keeping NSView square (From: Kyle Sluder <email@hidden>)
 >Re: Keeping NSView square (From: Andrew Farmer <email@hidden>)

  • Prev by Date: Re: IBOutlets or property + binding
  • Next by Date: Re: setToolTip: not working
  • Previous by thread: Re: Keeping NSView square
  • Next by thread: Question about Style wrt "private" methods
  • Index(es):
    • Date
    • Thread