iTunes-like tail truncation for attributed strings
iTunes-like tail truncation for attributed strings
- Subject: iTunes-like tail truncation for attributed strings
- From: Steve Cronin <email@hidden>
- Date: Mon, 12 Jan 2009 02:19:05 -0600
Folks;
I have a source list type view.
I am using a tableView not an outlineView because it works for this
data set.
I have an attributed string which has an image and a name.
This is the only column in this tableView.
This tableView is contained in a splitView which allows this 'nav' to
be re-sized....
A lot of words to describe something quite similar to iTunes.
As you reduce iTunes playlist column size toward its minimum, the
playlists do a 'tail truncation' on any long text.
How do I achieve that?
What I am seeing regardless of many different settings, is that the
text 'breaks' at the space between the image and wraps to a a second
line.
I have Truncate Tail set in the Text Field Cell for the table column.
Can you achieve this with effect with IB and an attributed string or
is some other code solution necessary?
Thanks for any help!
Steve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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:
This email sent to email@hidden