Revert fix for asian characters not horizozntally centered correctly in cell/field editor frame

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@39916 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2016-06-23 22:44:29 +00:00
parent 4a6bb4f124
commit 05ab9d1f1b

View file

@ -2302,7 +2302,10 @@ static NSColor *dtxtCol;
{ {
// Testplant-MAL-2015-06-20: Korean/Chinese/etc characters not properly // Testplant-MAL-2015-06-20: Korean/Chinese/etc characters not properly
// horizontally centered if you set to infinity - should be at text size... // horizontally centered if you set to infinity - should be at text size...
maxSize = titleRect.size; // Testplant-MAL-2016-06-23: This *seems* to have been fixed - maybe from a
// from the main branch - so reverting to previous code...
//maxSize = titleRect.size;
maxSize = NSMakeSize(1e6, 1e6);
} }
[ct setContainerSize: maxSize]; [ct setContainerSize: maxSize];
[ct setWidthTracksTextView: wraps]; [ct setWidthTracksTextView: wraps];