FROM : Ricky Sharp
DATE : Sun Feb 03 15:38:47 2008
On Feb 3, 2008, at 7:42 AM, Jurgen Vermeiren wrote:
> 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?
In IB, bring up the inspector for your various NSTextField objects and
set the "line breaks" to any of the "truncate" options that you need.
___________________________________________________________
Ricky A. Sharp mailto:<email_removed>
Instant Interactive(tm) http://www.instantinteractive.com
DATE : Sun Feb 03 15:38:47 2008
On Feb 3, 2008, at 7:42 AM, Jurgen Vermeiren wrote:
> 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?
In IB, bring up the inspector for your various NSTextField objects and
set the "line breaks" to any of the "truncate" options that you need.
___________________________________________________________
Ricky A. Sharp mailto:<email_removed>
Instant Interactive(tm) http://www.instantinteractive.com
| Related mails | Author | Date |
|---|---|---|
| Jurgen Vermeiren | Feb 3, 14:42 | |
| Ricky Sharp | Feb 3, 15:38 | |
| Sean McBride | Feb 4, 18:36 |






Cocoa mail archive

