diff options
Diffstat (limited to 'Source/SPTableView.m')
-rw-r--r-- | Source/SPTableView.m | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/SPTableView.m b/Source/SPTableView.m index 753996fb..0a1592ca 100644 --- a/Source/SPTableView.m +++ b/Source/SPTableView.m @@ -97,4 +97,15 @@ } +- (void)setFont:(NSFont *)font; +{ + NSArray *tableColumns; + NSUInteger columnIndex; + + tableColumns = [self tableColumns]; + columnIndex = [tableColumns count]; + while (columnIndex--) + [[(NSTableColumn *)[tableColumns objectAtIndex:columnIndex] dataCell] setFont:font]; +} + @end |