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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to