diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-02-16 20:19:42 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-02-16 20:19:42 (GMT) |
commit | b307cb001af410e26d360f9f9b9658449e267853 (patch) | |
tree | 81efb4b5004f8db641510780390cdcac3aa10373 /macosx/ttkMacOSXTheme.c | |
parent | 145b3ef2cb9b7fa90d8e857e7bafb4efc64662a6 (diff) | |
download | tk-b307cb001af410e26d360f9f9b9658449e267853.zip tk-b307cb001af410e26d360f9f9b9658449e267853.tar.gz tk-b307cb001af410e26d360f9f9b9658449e267853.tar.bz2 |
Major fix for HITheme button metrics; thanks to Marc Culler for patch.
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r-- | macosx/ttkMacOSXTheme.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c index cfa6ef9..4753a40 100644 --- a/macosx/ttkMacOSXTheme.c +++ b/macosx/ttkMacOSXTheme.c @@ -298,8 +298,9 @@ static void TabElementSize( void *clientData, void *elementRecord, Tk_Window tkwin, int *widthPtr, int *heightPtr, Ttk_Padding *paddingPtr) { - *heightPtr = kThemeMetricLargeTabHeight; + *heightPtr = GetThemeMetric(kThemeMetricLargeTabHeight, heightPtr); *paddingPtr = Ttk_MakePadding(0, 0, 0, 2); + } static void TabElementDraw( |