diff --git a/AppKit/CPOutlineView.j b/AppKit/CPOutlineView.j index f94d568ec..13feece77 100644 --- a/AppKit/CPOutlineView.j +++ b/AppKit/CPOutlineView.j @@ -1180,13 +1180,13 @@ var _loadItemInfoForItem = function(/*CPOutlineView*/ anOutlineView, /*id*/ anIt return NO; } -- (float)tableView:(CPTableView)theTableView heightOfRow:(int)theRow +/*- (float)tableView:(CPTableView)theTableView heightOfRow:(int)theRow { if ((_outlineView._implementedOutlineViewDelegateMethods & CPOutlineViewDelegate_outlineView_heightOfRowByItem_)) return [_outlineView._outlineViewDelegate outlineView:_outlineView heightOfRowByItem:[_outlineView itemAtRow:theRow]]; return [theTableView rowHeight]; -} +}*/ - (void)tableView:(CPTableView)aTableView willDisplayView:(id)aView forTableColumn:(CPTableColumn)aTableColumn row:(int)aRowIndex { diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index de229a125..a808ebe2c 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -1727,7 +1727,7 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5; // the height above the row it needs to recalculate for the rows below it too var i = [anIndexSet firstIndex], count = _numberOfRows - i, - heightAbove = (i > 0) ? _cachedRowHeights[i - 1].height + _cachedRowHeights[i - 1].heightAboveRow + intercellSpacing.height : 0; + heightAbove = (i > 0) ? _cachedRowHeights[i - 1].height + _cachedRowHeights[i - 1].heightAboveRow + _intercellSpacing.height : 0; for (; i < count; i++) {