On 10/11/2009, at 7:10 AM, Oftenwrong Soong wrote:

Unfortunately each time I swap a view, the vertical scrollbar goes all the way to the bottom, meaning that I have to manually scroll back up to bring the view into view.

What did I do wrong?


Nothing, as far as I can see. But NSScrollView works this way when its document view is not flipped, so you'll need to return YES from - isFlipped for that view to have it default to the top, left scroll position instead of the bottom, left.

--Graham


_______________________________________________

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