NSTextFiledCell in NSTableView doesn't truncate text if it contains a NSAttributedString
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