Re: Drawing text with '...' if it does not fit
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com On Jan 2, 2007, at 12:22, David Brennan wrote: 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..." Best Regards, Nir Soffer _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/site_archiver%40lists.apple... Try http://developer.apple.com/documentation/Carbon/Reference/ Appearance_Manager/Reference/reference.html#//apple_ref/c/func/ TruncateThemeText This email sent to site_archiver@lists.apple.com
participants (1)
-
Nir Soffer