Skip navigation.
 
mlLong filename, short NSTextField...
FROM : Jurgen Vermeiren
DATE : Sun Feb 03 14:42:35 2008

Hello,

this is probably a newbie question but I can't find any info on how to
truncate and append "..." to a filename which does not fit in an
NSTextField. Also, how would I go about doing the same with a full path,
i.e. truncating at the beginning (the directories) and prepending "..."?
Should I code it all by hand?

Thanks in advance!

Jurgen

Related mailsAuthorDate
mlLong filename, short NSTextField... Jurgen Vermeiren Feb 3, 14:42
mlRe: Long filename, short NSTextField... Ricky Sharp Feb 3, 15:38
mlRe: Long filename, short NSTextField... Sean McBride Feb 4, 18:36