Re: NSTextView's -setTextContainerInset: and rightmost ruler margin
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