From 3df30455f564bd5bd733e4192602eef08eb7634c Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 4 Jun 2003 21:05:22 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ Source/NSCell.m | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bbb4d8361..ad993a315 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-06-04 23:02 Alexander Malmberg + + * Source/NSCell.m (-_setupTextWithFrame:inView:editor:): Use a (much) + larger maximum size for the field editor. + 2003-05-26 Adam Fedor * Source/NSApplication.m (gsapp_user_bundles): New function diff --git a/Source/NSCell.m b/Source/NSCell.m index 23f4dedb6..95d1256cf 100644 --- a/Source/NSCell.m +++ b/Source/NSCell.m @@ -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];