Re: NSScrollView and Custom Views
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