quicklook window expands from the icon instead of the whole table row

This commit is contained in:
Mitchell Livingston
2008-05-21 22:09:05 +00:00
parent 0c94c7b623
commit e6f66b1d07
7 changed files with 19 additions and 3 deletions

View File

@@ -113,6 +113,12 @@
return [self menu];
}
- (NSRect) iconRectForRow: (int) row
{
FileNameCell * cell = (FileNameCell *)[[self tableColumnWithIdentifier: @"Name"] dataCell];
return [cell imageRectForBounds: [self rectOfRow: row]];
}
- (void) updateTrackingAreas
{
[super updateTrackingAreas];