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: Sat, 05 Jan 2013 11:04:02 +1100
On 05/01/2013, at 12:28 AM, koko <email@hidden> wrote:
> Thanks, Graham.
>
> I have no control over "Basing the size of some content on the visible rect sounds like a bad idea" as that is what the boss wants.
>
> FYI, our model defines a bitmap of content and we use the visible rect to clip this content.
Well, that's what NSScrollView does, without any intervention on your part. It really sounds as if you are either misunderstanding how the view works and doing unnecessary work, or deliberately abusing it. I'm not sure which.
But the fact that you have discovered "unexpected behaviour" only after your customers are using it is something of a red flag, no?
--Graham
_______________________________________________
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