• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Dumb question: How does NSScrollView know the size of the thing it's scrolling?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Dumb question: How does NSScrollView know the size of the thing it's scrolling?
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Spotlight and NSPredicate
  • Next by Date: Re: NSLog on releasebuild
  • Previous by thread: Re: Spotlight and NSPredicate
  • Next by thread: Re: Dumb question: How does NSScrollView know the size of the thing it's scrolling?
  • Index(es):
    • Date
    • Thread