I have been working with a layer-backed view hierarchy nested in an NSScrollView. The layer-backed view is backed by a CAScrollLayer (to get around the texture size limitation that causes the fade in effect on the layer-backed view). If I am scrolled to the top of the documentView in the NSScrollView, however, the view jumps by several pixels while resizing the NSScrollView. If setNeedsDisplay: is called, everything redraws and displays as intended. The problem is, the view always jumps before the setNeedsDisplay is called and the view always skips.

My question: does anyone have any recommendations about how to set up a large layer-backed view nested inside an NSScrollView (or something else to accomplish the same effect)? Also, has anyone else experienced the aforementioned problem?

If necessary, I can post a screencast showing the problem. Hopefully the problem mentioned above makes sense.

Thanks for your help

Luke Gladding
_______________________________________________

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