• 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
NSTextView scrolls to top of text container, not view, when inset
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Thanks for your help!
  • Next by Date: Re: Correct way to check for active/available internet connection?
  • Previous by thread: Re: NSWorkspace choosing to launch app from Time Machine backup
  • Next by thread: Resizing scroll bar knob while grabbed by user?
  • Index(es):
    • Date
    • Thread