• 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
Re: NSScrollView and Custom Views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScrollView and Custom Views


  • Subject: Re: NSScrollView and Custom Views
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Mon, 27 Jun 2005 17:51:51 +0200

On Jun 27, 2005, at 9:34 AM, Joshua Scott Emmons wrote:
But, truth be told, you really don't need it to be moved anywhere else. You should be thinking of that view as the piece of paper that you will draw all of your other stuff on. The only thing it needs to worry about is resizing itself so that whatever it contains is displayed. When you think of it that way, it doesn't make much sense to have this:

Just wanted to chime in and mention that UKDistributedView also works that way. It simply enlarges itself if the containing scroll view is larger than itself. That way, it always fills the scroller and I have full control over my drawn stuff's location.


In other places I simply needed the view to pin to the topleft, in that case I just replaced the document view with a flipped view.

Both approaches seem to just work.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
       "The Witnesses of TeachText are everywhere..."
                   http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSScrollView and Custom Views
      • From: Cameron Hendrix <email@hidden>
References: 
 >NSScrollView and Custom Views (From: email@hidden)
 >Re: NSScrollView and Custom Views (From: Joshua Scott Emmons <email@hidden>)
 >Re: NSScrollView and Custom Views (From: James Housley <email@hidden>)

  • Prev by Date: Removing empty lines from NSMutableString
  • Next by Date: CoreData auto-complete bindings?
  • Previous by thread: Re: NSScrollView and Custom Views
  • Next by thread: Re: NSScrollView and Custom Views
  • Index(es):
    • Date
    • Thread