diff options
Diffstat (limited to 'Source/CustomQuery.m')
-rw-r--r-- | Source/CustomQuery.m | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m index fd8af332..d977d7de 100644 --- a/Source/CustomQuery.m +++ b/Source/CustomQuery.m @@ -1820,7 +1820,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; } |