• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Long filename, short NSTextField...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Long filename, short NSTextField...


  • Subject: Long filename, short NSTextField...
  • From: "Jurgen Vermeiren" <email@hidden>
  • Date: Sun, 3 Feb 2008 14:42:35 +0100 (CET)

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

_______________________________________________

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

  • Follow-Ups:
    • Re: Long filename, short NSTextField...
      • From: "Sean McBride" <email@hidden>
    • Re: Long filename, short NSTextField...
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Re: NSCollectionView's newItemForRepresentedObject Method
  • Next by Date: Re: Long filename, short NSTextField...
  • Previous by thread: Re: NSCollectionView's newItemForRepresentedObject Method
  • Next by thread: Re: Long filename, short NSTextField...
  • Index(es):
    • Date
    • Thread