• 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: NSTextView's -setTextContainerInset: and rightmost ruler margin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView's -setTextContainerInset: and rightmost ruler margin


  • Subject: Re: NSTextView's -setTextContainerInset: and rightmost ruler margin
  • From: Ross Carter <email@hidden>
  • Date: Tue, 18 Nov 2008 11:55:35 -0500


On Nov 18, 2008, at 5:05 AM, Keith Blount wrote:

Either there's a bug in the text system or I'm not doing something right. I'm using NSTextView's -setTextContainerInset: to set margins around my text area. However, this seems to cause a bug in the ruler whereby the tail indent ruler marker (the downward arrow on the right) gets drawn in the wrong place for large margins. This is easy to see:

I wonder if this is what the documentation refers to when it says, "It is possible to set the text container and view sizes and resizing behavior so that the inset cannot be maintained exactly, although the text system tries to maintain the inset wherever possible."


Would it perhaps be better to set the text container size and origin directly?
_______________________________________________


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


References: 
 >NSTextView's -setTextContainerInset: and rightmost ruler margin (From: Keith Blount <email@hidden>)

  • Prev by Date: Re: NSDateFormatter strangeness
  • Next by Date: Re: Fetch value from field editor during editing?
  • Previous by thread: NSTextView's -setTextContainerInset: and rightmost ruler margin
  • Next by thread: Take picture with iSight?
  • Index(es):
    • Date
    • Thread