NSScrollView with layer-backed subview - sync problems on resize
NSScrollView with layer-backed subview - sync problems on resize
- Subject: NSScrollView with layer-backed subview - sync problems on resize
- From: Lucas Gladding <email@hidden>
- Date: Sun, 23 Mar 2008 23:51:49 -0400
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@hidden)
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:
This email sent to email@hidden