Author: paullanders
Date: Wed Jun 29 19:23:52 2016
New Revision: 39949
URL: http://svn.gna.org/viewcvs/gnustep?rev=39949&view=rev
Log:
Changed maxSize of field editor, for cells that are center justified but
scrollable.
Modified:
libs/gui/branches/gnustep_testplant_branch/Source/NSCell.m
Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSCell.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSCell.m?rev=39949&r1=39948&r2=39949&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSCell.m (original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSCell.m Wed Jun 29
19:23:52 2016
@@ -2304,8 +2304,8 @@
// horizontally centered if you set to infinity - should be at text
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);
+ // maxSize = titleRect.size;
+ maxSize = NSMakeSize(1e7, NSHeight(titleRect));
}
[ct setContainerSize: maxSize];
[ct setWidthTracksTextView: wraps];
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs