Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Cocoa text truncation?

Cocoa text truncation?
Thread Tools
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
Dec 10, 2003, 04:15 PM
 
I vaguely remember this from WWDC this past summer, but can't seem to find it in the headers/documentation now. Supposedly, in 10.3 Cocoa gained the same sort of "smart" text truncation available to Carbon apps via the Appearance Manager: truncating to a pixel width instead of a character width, with automatic insertion of ellipsis ("...") characters. But I can't find any specific API for this now in the Foundation or AppKit headers... anybody seen it?
Rick Roe
icons.cx | weblog
     
Junior Member
Join Date: Jan 2003
Status: Offline
Reply With Quote
Dec 10, 2003, 07:38 PM
 
I recall that as well.

I looked over the PDF's from Cocoa Text and Cocoa Update and didn't see anything. I then looked at the HIG and it looks to me like they mean that standard controls do it automatically now (if they didn't already).

Hope this helps.
swont
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:33 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2