mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 18:31:20 +00:00
Field editor for NSCell should have it's textview/textcontainer sized to title rectangle height
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37746 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
79537b24bf
commit
bee13c1d64
1 changed files with 1 additions and 1 deletions
|
@ -2269,7 +2269,7 @@ static NSColor *dtxtCol;
|
|||
if (wraps)
|
||||
maxSize = NSMakeSize(NSWidth(titleRect), 1e6);
|
||||
else
|
||||
maxSize = NSMakeSize(1e6, 1e6);
|
||||
maxSize = titleRect.size;
|
||||
[ct setContainerSize: maxSize];
|
||||
[ct setWidthTracksTextView: wraps];
|
||||
[ct setHeightTracksTextView: NO];
|
||||
|
|
Loading…
Reference in a new issue