From fde1c03942e4b7b565abc9532cf439bbe42643f7 Mon Sep 17 00:00:00 2001 From: culler Date: Wed, 26 Jun 2019 18:59:19 +0000 Subject: Fix bug [8476b75781]: Aqua scrollbar behavior --- macosx/ttkMacOSXTheme.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c index c33e8c9..05a5539 100644 --- a/macosx/ttkMacOSXTheme.c +++ b/macosx/ttkMacOSXTheme.c @@ -2346,11 +2346,7 @@ static void ThumbElementSize( int orientation = TTK_ORIENT_HORIZONTAL; Ttk_GetOrientFromObj(NULL, scrollbar->orientObj, &orientation); - if (orientation == TTK_ORIENT_HORIZONTAL) { - *minHeight = 8; - } else { - *minWidth = 8; - } + *minHeight = *minWidth = 8; } static void ThumbElementDraw( -- cgit v0.12