Zhiyi Zhang : light.msstyles: Use stretch sizing type for scroll bar arrow button background.
Module: wine Branch: stable Commit: bbe9da6669fc354fced8b50cba5fe9d581e57528 URL: https://gitlab.winehq.org/wine/wine/-/commit/bbe9da6669fc354fced8b50cba5fe9d... Author: Zhiyi Zhang <zzhang(a)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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> (cherry picked from commit 3acf12b8676c15be52ac4c4145112f0c0c646559) Signed-off-by: Michael Stefaniuc <mstefani(a)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 38b5ac1377b..5e9e24ab5df 100644 --- a/dlls/light.msstyles/light.rc +++ b/dlls/light.msstyles/light.rc @@ -611,7 +611,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"
participants (1)
-
Alexandre Julliard