Zhiyi Zhang : user32: Change scroll bar minimum thumb size to 8 pixels.
Module: wine Branch: master Commit: e0c0f0f19adb8ec78fe8849e2098f89e1e6ba981 URL: https://source.winehq.org/git/wine.git/?a=commit;h=e0c0f0f19adb8ec78fe8849e2... Author: Zhiyi Zhang <zzhang(a)codeweavers.com> Date: Thu Sep 9 14:48:47 2021 +0800 user32: Change scroll bar minimum thumb size to 8 pixels. It's 8 pixels on XP and Win 7. On Win 10, it's the same size as themed scroll bar thumb. Signed-off-by: Zhiyi Zhang <zzhang(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/user32/scroll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/scroll.c b/dlls/user32/scroll.c index 088e41eee43..d62020f8f23 100644 --- a/dlls/user32/scroll.c +++ b/dlls/user32/scroll.c @@ -60,7 +60,7 @@ typedef struct #define SCROLL_MIN_RECT 4 /* Minimum size of the thumb in pixels */ -#define SCROLL_MIN_THUMB 6 +#define SCROLL_MIN_THUMB 8 /* Overlap between arrows and thumb */ #define SCROLL_ARROW_THUMB_OVERLAP 0
participants (1)
-
Alexandre Julliard