On Mar 11, 2008, at 9:54 PM, John Stiles wrote:

Gah, I spoke too soon.
This "solution" actually disables tightening entirely. So I'm back to square one. Please help!


You could try to manually squeeze the result by setting an attributed string's NSKernAttributeName value, but that would be far from automatic (since you'd have to be constantly measuring the string, redoing the kerning, and, in all likelihood, handle the auto- ellipsification yourself).

It could probably be handled by a transformer in a binding, so it may not be too bad, though there's no obvious way for the binding to know the line width it needs to try to shrink the string to...


Glenn Andreas                      [EMAIL PROTECTED]
 <http://www.gandreas.com/> wicked fun!
quadrium | prime : build, mutate, evolve, animate : the next generation of fractal art



_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to