Re: NSScrollView how to scroll to top
Re: NSScrollView how to scroll to top
- Subject: Re: NSScrollView how to scroll to top
- From: p3consulting <email@hidden>
- Date: Mon, 29 Mar 2004 09:52:34 +0200
Le 28-mars-04, ` 23:13, Matt Jaffa a icrit :
Hmmm trying to figure out
how to get all this Scrolling working is not fun,
Is there a way in interface Builder to save it or set it to be at the
top when it loads,
if this can't be done than that sucks, and surprised no one else has
complained about this.
Content view size if often related to document size of which size if
often read from default page set-up size when the document is a new one
and from the document data file if reading an old one.
So there is little meaning to hardcode the content size in
InterfaceBuilder because it would be overwritten at runtime anyway,
this is why it doesnt' suck and that few people complain about that.
Who want the NSScrollView to start at the bottom?
NSScrollView doesn't start at the "bottom": it starts at the origin,
and for a non-flipped view the origin is bottom-left.
So, first check that - in the context of your application - you don't
need to flip your content view first.
Pascal Pochet
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.