[PATCH 1/2] user32: Change scroll bar minimum thumb size to 8 pixels.
9 Sep
2021
9 Sep
'21
6:48 a.m.
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> --- 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 -- 2.30.2
1560
Age (days ago)
1560
Last active (days ago)
0 comments
1 participants
participants (1)
-
Zhiyi Zhang