diff options
author | culler <culler> | 2019-06-27 14:11:47 (GMT) |
---|---|---|
committer | culler <culler> | 2019-06-27 14:11:47 (GMT) |
commit | 805e7986218616c662f180c3e0ae30844d0ad5c7 (patch) | |
tree | 054839467924419781e28d1777155639c270d0e6 | |
parent | 083d12f62fbec88cfe223c38e9d7a53f4acde39f (diff) | |
parent | fde1c03942e4b7b565abc9532cf439bbe42643f7 (diff) | |
download | tk-805e7986218616c662f180c3e0ae30844d0ad5c7.zip tk-805e7986218616c662f180c3e0ae30844d0ad5c7.tar.gz tk-805e7986218616c662f180c3e0ae30844d0ad5c7.tar.bz2 |
Fix bug [8476b75781]: correct rendering of small thumbs in Aqua ttk::scrollbar
-rw-r--r-- | macosx/ttkMacOSXTheme.c | 6 |
1 files changed, 1 insertions, 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( |