Re: NSCell Text Alignment
Re: NSCell Text Alignment
- Subject: Re: NSCell Text Alignment
- From: Daniel Todd Currie <email@hidden>
- Date: Thu, 14 Oct 2004 13:03:27 +0900
I've basically copied the code from the following location:
http://developer.apple.com/documentation/Cocoa/Conceptual/Rulers/Tasks/
TruncatingStrings.html
I've double-checked that my data cell has "setWraps:YES". I've checked
the attributed string just before returning it, to see that it has
"LineBreakMode 5". Yet I'm still not seeing any sort of truncation.
Does the code in the above page actually work?
-- DTC
On 2004 Oct 14, at 11:29, Daniel Todd Currie wrote:
2. When the user is done editing a cell with text that is longer than
the width of the cell, an ellipsis is placed at the end of the
viewable text to show that it continues out of the viewable rect.
Furthermore, I would like to be able to place the ellipsis in the
middle of the word in some cases, the way Finder.app does in column
view to show the beginning of the word and its file name extension.
_______________________________________________
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