Re: scroll bars and visible rect
Re: scroll bars and visible rect
- Subject: Re: scroll bars and visible rect
- From: Graham Cox <email@hidden>
- Date: Fri, 04 Jan 2013 14:18:27 +1100
You're confusing CAScrollLayer (Core Animation) with NSScrollView.
I *think* that NSScrollVIew's visible rect changes when the scroll bars are shown/hidden. That would stand to reason. Basing the size of some content on the visible rect sounds like a bad idea - you might sometimes use this to determine what parts of your content to draw or not draw, but not to determine what the content itself is.
--Graham
On 04/01/2013, at 1:23 PM, koko <email@hidden> wrote:
> I beg to differ with you all:
_______________________________________________
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