[PATCH] light.msstyles: Add scrollbar width and height.

Zhiyi Zhang zzhang at codeweavers.com
Thu Sep 30 22:26:14 CDT 2021


Fix a bug that scrollbar width and height don't change when activating
Light theme. For example, when theming is inactive, change scrollbar
width from the default 16 pixels to 32 pixels, then activate Light theme.
Then scrollbar width should be changed to the theme specified scrollbar width.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
 dlls/light.msstyles/light.rc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dlls/light.msstyles/light.rc b/dlls/light.msstyles/light.rc
index 76adf8f8398..cf9271cb612 100644
--- a/dlls/light.msstyles/light.rc
+++ b/dlls/light.msstyles/light.rc
@@ -144,7 +144,10 @@ BLUE_INI TEXTFILE
 "EdgeFillColor = 255 255 255\r\n"
 
 "\r\n[SysMetrics]\r\n"
-"; System colors\r\n"
+"ScrollbarWidth = 16\r\n"
+"ScrollbarHeight = 16\r\n"
+
+"\r\n; System colors\r\n"
 "Scrollbar = 255 255 255\r\n"
 "Background = 37 111 149\r\n"
 "ActiveCaption = 50 150 250\r\n"
-- 
2.30.2



More information about the wine-devel mailing list