Applied Matt's patch for bug#18073.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23933 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-10-21 15:48:47 +00:00
parent e4a7db7a1c
commit 260f3233c2
2 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2006-10-21 11:45-EDT Matt Rice <ratmice@yahoo.com>
* Palettes/3Containers/GormTableViewEditor.m: Implement documentRect.
Since the editor is the table's superview, it will take its size from
the editor. Corrects bug#18073
Patch committed by Gregory John Casamento <greg_casamento@yahoo.com>
2006-10-20 20:08-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GNUmakefile

View file

@ -101,6 +101,15 @@ static NSText *_textObject;
return NO;
}
- (NSRect) documentRect
{
NSRect visRect = _bounds;
if ([_super_view respondsToSelector:@selector(documentRect)])
{
visRect = [(NSClipView *)_super_view documentRect];
}
return visRect;
}
/**
* Deactivate an editor - removes it from the view hierarchy so that objects