* Source/NSTableView.m (rectOfColumn:): Use the height of the rows,

not the bounds.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24290 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Matt Rice 2006-12-28 23:18:44 +00:00
parent 24f6989433
commit a61f6e5479
2 changed files with 3 additions and 1 deletions

View file

@ -6,6 +6,8 @@
with disabledControlTextColor.
* Source/NSSecureTextFieldCell (-drawInteriorWithFrame:): Draw
disabled cell with controlBackgroundColor.
* Source/NSTableView.m (rectOfColumn:): Use the height of the rows,
not the bounds.
2006-12-27 Richard Frith-Macdoanld <rfm@gnu.org>

View file

@ -4207,7 +4207,7 @@ static BOOL selectContiguousRegion(NSTableView *self,
rect.origin.x = _columnOrigins[columnIndex];
rect.origin.y = _bounds.origin.y;
rect.size.width = [[_tableColumns objectAtIndex: columnIndex] width];
rect.size.height = _bounds.size.height;
rect.size.height = _numberOfRows * _rowHeight;
return rect;
}