diff options
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r-- | Source/TableContent.m | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m index 0a397707..d25799d5 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -2612,7 +2612,14 @@ } // Show the cell string value as tooltip (including line breaks and tabs) - [SPTooltip showWithObject:[aCell stringValue] atLocation:pos]; + // by using the cell's font + [SPTooltip showWithObject:[aCell stringValue] + atLocation:pos + ofType:@"text" + displayOptions:[NSDictionary dictionaryWithObjectsAndKeys: + [[aCell font] familyName], @"fontname", + [NSString stringWithFormat:@"%f",[[aCell font] pointSize]], @"fontsize", + nil]]; return nil; } |