On Feb 9, 2009, at 9:07 PM, Luke Evans wrote:
My experiments suggest that simply setting the current document view in an NSScrollView to a new size results in the unexpected behaviour (to me) of having all the content of the document view be scaled up or down to fit the size of the NSClipView.
I am not certain exactly what you are doing, but I have been able to successfully do this. I have a case where I need to do my own NSOutlineView...hence group rows which show or hide content based on the state of the disclosure triangle. As such, I am altering the height of the content being managed by the NSScrollView and haven't experienced any problems with this.
I'm not in front of my code at the moment, but if you haven't receive a response by the time I am, I will take a closer look. In the meantime, posting exactly what you are doing to change the document view size might be helpful.
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com