NSTextView scrolls to top of text container, not view, when inset
NSTextView scrolls to top of text container, not view, when inset
- Subject: NSTextView scrolls to top of text container, not view, when inset
- From: Ben Lachman <email@hidden>
- Date: Fri, 25 Jan 2008 01:36:13 -0500
When ever I call the setTextContainerInset: method on a NSTextView in
Tiger it changes the default place NSTextView scrolls to to the top
of the text container instead of the top of the view (which is the
behavior in Leopard). For instance, if I inset the height of the
text container by 20px, the textview will now scroll to 20px instead
of 0px (it's flipped) in its default state. I've been wondering
about this for a while and haven't run across a solution, does anyone
know of a good work around?
Thanks,
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
email@hidden
740.590.0009
_______________________________________________
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