Hi, I have a scroll view (NSScrollView) with a document view set as a NSView. This document view is a superview for 2 other views, which are supposed to be resized along with resizing of enclosing document view. >From time to time I add drawing objects to document view. I need to calculate >an enclosing rectangle of all objects and accordingly change the frame of my >document view. My question is when I change the frame of document view the enclosing scroll view has to adjust itself to the new frame size of document view. What I see that scroll view doesn't adjust itself properly. Do I need to call some specific API to change its content size?
Thanks for advance Nava _______________________________________________ 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]
