• 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
NSTextFiledCell in NSTableView doesn't truncate text if it contains a NSAttributedString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextFiledCell in NSTableView doesn't truncate text if it contains a NSAttributedString


  • Subject: NSTextFiledCell in NSTableView doesn't truncate text if it contains a NSAttributedString
  • From: "Marco Damaschi" <email@hidden>
  • Date: Thu, 23 Aug 2007 02:17:34 -0700 (PDT)
  • Importance: Normal

I have a NSTableView with columns containing cells of type
NSTextFieldCell. The NSTextFieldCell is configured so that its size is
small and its line breaking mode is truncate tail.

Some cells of my table contain bold text, so that the table view's data
source returns a NSAttributedString for their content. The problem rises
up if the text needs to be truncated: it is not truncated using the
truncate tail mode (as requested) but using the world wrap mode. The cells
containing NSStrings work correctly.

Someone has experienced the same problem? Any ideas?

Thanks in advance
Marco Damaschi

_______________________________________________

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: NSTextFiledCell in NSTableView doesn't truncate text if it contains a NSAttributedString
      • From: Brian Ganninger <email@hidden>
  • Prev by Date: Hillegass cocoa question
  • Next by Date: Re: subpathsAtPath and memory usage
  • Previous by thread: Re: Hillegass cocoa question
  • Next by thread: Re: NSTextFiledCell in NSTableView doesn't truncate text if it contains a NSAttributedString
  • Index(es):
    • Date
    • Thread