• 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: NSScrollView: Scrollers invisible under Mac OS X 10.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScrollView: Scrollers invisible under Mac OS X 10.6


  • Subject: Re: NSScrollView: Scrollers invisible under Mac OS X 10.6
  • From: Matthias Arndt <email@hidden>
  • Date: Wed, 2 Sep 2009 06:30:32 +0200

Am 01.09.2009 um 23:59 schrieb Kyle Sluder:

Why are you scaling your clip view?  It would make more sense to scale
your document view.

It was my understanding that a custom view could be zoomed in (at least) two ways:


(1.) using "scaleUnitSquareToSize" of the clip view (leaving the coordination system of the custom view untouched) or

(2.) changing the bounds / frame of the custom view and handling the scaling in the custom view's drawRect:

As the first one worked (under Mac OS 10.5) and was less intrusive to my code, I never tried the second one. To be honest I can't remember why I used "scaleUnitSquareToSize" of the clip and not the custom view. I'll definitely give it a try the next days ...

Thanks, Matthias _______________________________________________

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


  • Follow-Ups:
    • Re: NSScrollView: Scrollers invisible under Mac OS X 10.6
      • From: Graham Cox <email@hidden>
    • Re: NSScrollView: Scrollers invisible under Mac OS X 10.6
      • From: Kyle Sluder <email@hidden>
References: 
 >NSScrollView: Scrollers invisible under Mac OS X 10.6 (From: Matthias Arndt <email@hidden>)
 >Re: NSScrollView: Scrollers invisible under Mac OS X 10.6 (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: saving files/folders in foreign language names
  • Next by Date: Re: NSScrollView: Scrollers invisible under Mac OS X 10.6
  • Previous by thread: Re: NSScrollView: Scrollers invisible under Mac OS X 10.6
  • Next by thread: Re: NSScrollView: Scrollers invisible under Mac OS X 10.6
  • Index(es):
    • Date
    • Thread