Zhiyi Zhang : light.msstyles: Add scrollbar width and height.

Alexandre Julliard julliard at winehq.org
Fri Oct 1 18:02:22 CDT 2021


Module: wine
Branch: master
Commit: 760acf6c1300dc66d0524981436168b1a586574d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=760acf6c1300dc66d0524981436168b1a586574d

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Fri Oct  1 11:26:14 2021 +0800

light.msstyles: Add scrollbar width and height.

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>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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"




More information about the wine-cvs mailing list