Scrolling behavior ala Preview
Scrolling behavior ala Preview
- Subject: Scrolling behavior ala Preview
- From: David Hoerl <email@hidden>
- Date: Tue, 18 Jul 2006 19:04:51 -0400
If you have an image showing in Preview that is smaller than the
window, then the image is centered in the window. If say the image is
tall and thin, then you would have a vertical scroller, but not a
horizontal one. However, the image is centered in the window.
When I try to emulate this, I can use scrollToPoint to center my tall
thin image. But as soon as I hit the vertical scroller, the image
jumps to the left side of the window.
How would I achieve the same effect Preview does?
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden