• 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
NSScrollView: Limiting scrolling size...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSScrollView: Limiting scrolling size...


  • Subject: NSScrollView: Limiting scrolling size...
  • From: Matthew Cox <email@hidden>
  • Date: Sat, 13 Oct 2001 18:26:28 -0400

I managed to solve my earlier problem with drawing the scroll view, I mistakingly set the bounds rect of the documentView when I needed to set the frame rect. I now need to find a way to keep the scroll view from expanding beyond the size of the document.

Since the view could be of any size, I would think I would need to: calculate the maximum size of the image, add the size of the scroll bars, add the size of the padding space from the window edge, and then set the maximum size of the window. Is there an easier way of accomplishing this?


  • Prev by Date: RE: Subclassing
  • Next by Date: Re: Subclassing
  • Previous by thread: Re: NSDocument & NSOutlineView questions
  • Next by thread: Re: NSScrollView: Limiting scrolling size...
  • Index(es):
    • Date
    • Thread