From cbc0d24f665fec3f44a4c08c0699d1356b754479 Mon Sep 17 00:00:00 2001 From: Zhiyi Zhang Date: Fri, 11 Feb 2022 15:14:30 +0800 Subject: [PATCH] light.msstyles: Adjust scroll bar arrow width and height to 17 pixels. Themed scroll bar width and height are 17 pixels on XP. Fix that Light theme scroll bar arrow glyphs look off by 1 pixel. The combo button glyphs also have to be moved by 1 pixel because it was designed against the old scroll bar arrow button width and height. Signed-off-by: Zhiyi Zhang Signed-off-by: Alexandre Julliard --- .../light.msstyles/blue_combobutton_glyph.bmp | Bin 1258 -> 1258 bytes .../light.msstyles/blue_combobutton_glyph.svg | 27 ++++++++---------- dlls/light.msstyles/light.rc | 4 +-- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/dlls/light.msstyles/blue_combobutton_glyph.bmp b/dlls/light.msstyles/blue_combobutton_glyph.bmp index 2c0bd8a357fbffce7007fb3606beba2cf9a7b606..251f3772bb850b8c422c1c99665f5f4004dfc6e7 100644 GIT binary patch literal 1258 zcmd5&I}Uxl8`pj`X*NYs zWQSpxdY(5jo!2c00t-Ef@B0pM9LM9ATUOY^$s;C(_BHiFlkf)RRQaYEeB)ZxeqAf2 zY#;?%bAe|83E*h1@si7B|FZn{4A2Y z6b^BAnACE~T)_(uOu5j$rrz8Y^6pNJT#8v&{8cXa1sh0#)?DCOKms_LYq>z@+9Rez S`)KC9S3)y#!JPwN$>j-~Je*+w literal 1258 zcmd6jO>ToQ5QQBztDK>W-XP8iKy13|CMU=pDrJQd3wGTDQg diff --git a/dlls/light.msstyles/blue_combobutton_glyph.svg b/dlls/light.msstyles/blue_combobutton_glyph.svg index 0caf1c4b696..b501a5496bd 100644 --- a/dlls/light.msstyles/blue_combobutton_glyph.svg +++ b/dlls/light.msstyles/blue_combobutton_glyph.svg @@ -5,24 +5,21 @@ image/svg+xml - - - - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/dlls/light.msstyles/light.rc b/dlls/light.msstyles/light.rc index bfb04faf9e8..a8e35f9c5d7 100644 --- a/dlls/light.msstyles/light.rc +++ b/dlls/light.msstyles/light.rc @@ -144,8 +144,8 @@ BLUE_INI TEXTFILE "EdgeFillColor = 255 255 255\r\n" "\r\n[SysMetrics]\r\n" -"ScrollbarWidth = 16\r\n" -"ScrollbarHeight = 16\r\n" +"ScrollbarWidth = 17\r\n" +"ScrollbarHeight = 17\r\n" "\r\n; System colors\r\n" "Scrollbar = 255 255 255\r\n"