Phase out the wraps NSCell attribute, since it is implied by the

lineBreakMode attribute. Note that with this change cells now wrap by
default, as has always been the case on OS X.
Also fix a related inconsistency where text that is wrapped by the
cell was displayed in a single line during editing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29134 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
wlux 2009-12-17 01:49:20 +00:00
parent 68b0f819f2
commit 00fb50716f
5 changed files with 46 additions and 9 deletions

View file

@ -114,6 +114,7 @@
_headerCell = [NSTableHeaderCell new];
_dataCell = [NSTextFieldCell new];
[_dataCell setLineBreakMode: NSLineBreakByTruncatingTail];
_headerToolTip = nil;
_sortDescriptorPrototype = nil;