Drawing text with '...' if it does not fit
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WOgHJs6ArlR/4OHDkvaBN1Nfkv6Lf7fGFXuHLd93WRnimC+S54ODpuYzBvH4CU5gdeX8EPiVErBydwK/O4Y2K3UUiDD5uDxPy9eohvDD8moB8MtDalFhSRg+KaZcmh/6vZodb04m+EDbhv5yg/fmIJtNk3LwWvSN6H8d/4MfpM8= 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 (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... This email sent to site_archiver@lists.apple.com
participants (1)
-
David Brennan