mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 01:30:38 +00:00
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:
parent
786f376f1b
commit
8b97af9ed3
5 changed files with 46 additions and 9 deletions
|
@ -109,6 +109,7 @@ static NSFont *_leafFont;
|
|||
//_alternateImage = nil;
|
||||
//_browsercell_is_leaf = NO;
|
||||
//_browsercell_is_loaded = NO;
|
||||
[self setLineBreakMode: NSLineBreakByTruncatingTail];
|
||||
|
||||
if (_gsFontifyCells)
|
||||
[self setFont: _nonLeafFont];
|
||||
|
@ -122,6 +123,7 @@ static NSFont *_leafFont;
|
|||
//_alternateImage = nil;
|
||||
//_browsercell_is_leaf = NO;
|
||||
//_browsercell_is_loaded = NO;
|
||||
[self setLineBreakMode: NSLineBreakByTruncatingTail];
|
||||
|
||||
if (_gsFontifyCells)
|
||||
[self setFont: _nonLeafFont];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue