Re: Finder Column View Path Abbreviation
Re: Finder Column View Path Abbreviation
- Subject: Re: Finder Column View Path Abbreviation
- From: Hamish Allan <email@hidden>
- Date: Fri, 10 Feb 2006 19:01:22 +0000
On Thu, 09 Feb 2006 22:39:59 -0500, Mijobee <email@hidden> wrote:
How can I get abbreviated file paths the way the Finder Column view
displays them. I thought I read somewhere that there's a simple
way of
doing this but can't seem to find it anywhere. Thanks.
You can do this by using an NSAttributedString with an
NSParagraphStyle with a lineBreakMode of LineBreakByTruncatingMiddle.
Best wishes,
Hamish
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden