Drawing text with '...' if it does not fit
Drawing text with '...' if it does not fit
- Subject: Drawing text with '...' if it does not fit
- From: "David Brennan" <email@hidden>
- Date: Tue, 2 Jan 2007 10:22:26 +0000
Hi,
I am trying to draw a piece of text in a NSRect. If the text is too
long I don't want the text to wrap, I would like it to be truncated
and follewed by '...' so if the text is
"a very long name", I want
"a very lo..."
How do I do this.
Thanks,
Dave.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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