Zhiyi Zhang : light.msstyles: Use stretch sizing type for scroll bar arrow button background.

Alexandre Julliard julliard at winehq.org
Fri Feb 11 14:33:58 CST 2022


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

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Fri Feb 11 15:14:16 2022 +0800

light.msstyles: Use stretch sizing type for scroll bar arrow button background.

Scroll bar arrow button background within its sizing margins is all white, using stretch instead of
tile has no visual difference and is more efficient. On Windows, stretch sizing type is also used
for this part.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/light.msstyles/light.rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/light.msstyles/light.rc b/dlls/light.msstyles/light.rc
index ba27c9461bc..bfb04faf9e8 100644
--- a/dlls/light.msstyles/light.rc
+++ b/dlls/light.msstyles/light.rc
@@ -607,7 +607,7 @@ BLUE_INI TEXTFILE
 "BgType = ImageFile\r\n"
 "SizingMargins = 5, 5, 5, 5\r\n"
 "ContentMargins = 0, 0, 3, 3\r\n"
-"SizingType = Tile\r\n"
+"SizingType = Stretch\r\n"
 "ImageFile = blue_scrollbar_arrows.bmp\r\n"
 "ImageCount = 16\r\n"
 "ImageLayout = Vertical\r\n"




More information about the wine-cvs mailing list