summaryrefslogtreecommitdiffstats
path: root/macosx/ttkMacOSXTheme.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-02-16 20:19:42 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-02-16 20:19:42 (GMT)
commitb307cb001af410e26d360f9f9b9658449e267853 (patch)
tree81efb4b5004f8db641510780390cdcac3aa10373 /macosx/ttkMacOSXTheme.c
parent145b3ef2cb9b7fa90d8e857e7bafb4efc64662a6 (diff)
downloadtk-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.c3
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(