Dumb question: How does NSScrollView know the size of the thing it's scrolling?
Dumb question: How does NSScrollView know the size of the thing it's scrolling?
- Subject: Dumb question: How does NSScrollView know the size of the thing it's scrolling?
- From: Rick Mann <email@hidden>
- Date: Wed, 23 Jul 2008 10:43:44 -0700
What attribute of the contained views does NSScrollView (or the
NSScroller, whatever) use to determine what the scroll bars look like?
I read the doc a couple times, but I couldn't quite figure it out. Is
it the bounds.size of my contained view? What if I'm setting a
CoreGraphics CTM to zoom in on my drawing (my drawing code is all done
using the CoreGraphics API)...I would want the extent of the
scrollable area to grow accordingly...what attribute do I change?
Thanks!
--
Rick
_______________________________________________
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