Re: NSScrollView: Scrollers invisible under Mac OS X 10.6
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