Use a much larger size for the field editor.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16866 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-06-04 21:05:22 +00:00
parent 1740b49ea6
commit 2356f6a8e1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-06-04 23:02 Alexander Malmberg <alexander@malmberg.org>
* Source/NSCell.m (-_setupTextWithFrame:inView:editor:): Use a (much)
larger maximum size for the field editor.
2003-05-26 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (gsapp_user_bundles): New function

View file

@ -1752,7 +1752,7 @@ static NSColor *shadowCol;
editor: (NSText*)textObject
{
NSRect titleRect = [self titleRectForBounds: aRect];
NSSize maxSize = NSMakeSize(3000, titleRect.size.height);
NSSize maxSize = NSMakeSize(1e8, titleRect.size.height);
NSClipView *cv = [[NSClipView alloc]
initWithFrame: titleRect];
NSTextContainer *ct = [(NSTextView*)textObject textContainer];