Author: mlytwyn
Date: Sat Mar 15 18:13:13 2014
New Revision: 37746
URL: http://svn.gna.org/viewcvs/gnustep?rev=37746&view=rev
Log:
Field editor for NSCell should have it's textview/textcontainer sized to title
rectangle height
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=37746&r1=37745&r2=37746&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSCell.m (original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSCell.m Sat Mar 15
18:13:13 2014
@@ -2269,7 +2269,7 @@
if (wraps)
maxSize = NSMakeSize(NSWidth(titleRect), 1e6);
else
- maxSize = NSMakeSize(1e6, 1e6);
+ maxSize = titleRect.size;
[ct setContainerSize: maxSize];
[ct setWidthTracksTextView: wraps];
[ct setHeightTracksTextView: NO];
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs