Re: NSLayoutManager and whitespace
Re: NSLayoutManager and whitespace
- Subject: Re: NSLayoutManager and whitespace
- From: Ondra Cada <email@hidden>
- Date: Thu, 13 Apr 2006 18:33:19 +0200
Scott,
On 13.4.2006, at 17:31, Scott Thompson wrote:
I layout the text on one long line and use that to find the longest
word (In this case 67) I then use that as the text container size.
I guess this value is too exact. I imagine that the paragraph
style or some other aspect of the text string means that the exact
width I've calculated is still too narrow.
By no means I am a text system guru, so take this all with a ton of
salt, but I guess your problem *might* lay in the default line
fragment padding, which is nonzero. Have you tried to send
setLineFragmentPadding:0 to your text container?
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden