Re: Testing NSLineBreakByTruncatingTail
Re: Testing NSLineBreakByTruncatingTail
- Subject: Re: Testing NSLineBreakByTruncatingTail
- From: Jim Correia <email@hidden>
- Date: Mon, 5 Jan 2004 14:26:17 -0500
On Jan 5, 2004, at 1:51 PM, cricket wrote:
Doesn't look like anyone responded to this. The somewhat non-obvious
answer to this is to set the wrapping behavior of the underlying cells
in the tableview. Looking at your test project, I added the following
to the top of your awakeFromNib method and the truncation worked as
expected.
NSEnumerator *columns = [[myTableView tableColumns]
objectEnumerator];
id column;
while (column = [columns nextObject]) {
[[column dataCell] setWraps:YES];
}
Is this documented anywhere? (I didn't see it in the release notes or
the NSCell documentation.)
Is it possible to control which truncation method is used?
Jim
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.