Re: How to get a scroll view to recognize overflow on a custom view?
Re: How to get a scroll view to recognize overflow on a custom view?
- Subject: Re: How to get a scroll view to recognize overflow on a custom view?
- From: Quincey Morris <email@hidden>
- Date: Mon, 23 Mar 2009 11:00:26 -0700
On Mar 23, 2009, at 02:33, Ken Tozier wrote:
The new issue though is that when I set the size of the content view
(document view?) the scroller's size changes to the new size of the
content. I've checked and rechecked to make sure all the autosize
parts are set up in IB correctly, but no matter what I do, I can't
both set the size of the scroller content view and preserve the
frame of the scroll view.
At this point, step 1 is probably to log the frame rects of the scroll
view, clip view and document/content view after the resize is
finished, and find out for sure which one is wrong.
Step 2 could be to register to receive frame-changed notifications
from each of the views, and watch the sequence of changes to see where
it goes wrong. Chances are, things aren't happening in the order your
code thinks they are.
_______________________________________________
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