Re: Problem controlling a NSScrollView
Re: Problem controlling a NSScrollView
- Subject: Re: Problem controlling a NSScrollView
- From: Jerry Krinock <email@hidden>
- Date: Mon, 21 Jun 2010 09:20:15 -0700
On 2010 Jun 21, at 07:42, Anders Sommer Lassen wrote:
> How can I get the custom view to known about the change in size due to the newly added scrollbar?
The scroll view's content view should have its autoresizesSubviews set to YES. Thus, when this content view is resized to accommodate the scroller, your custom view should be getting a setFrame: message.
_______________________________________________
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