From: Jactry Zeng <jzeng(a)codeweavers.com> The default size is too small for HiDPI, so calculate a size by the height of the look-in combo box and set it as the size of these buttons. --- dlls/comdlg32/filedlg.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/comdlg32/filedlg.c b/dlls/comdlg32/filedlg.c index 415c0580461..5d4b9649820 100644 --- a/dlls/comdlg32/filedlg.c +++ b/dlls/comdlg32/filedlg.c @@ -1486,6 +1486,7 @@ static LRESULT FILEDLG95_InitControls(HWND hwnd) BOOL win98plus = FALSE; BOOL handledPath = FALSE; OSVERSIONINFOW osVi; + int height; static const TBBUTTON tbb[] = { @@ -1551,6 +1552,7 @@ static LRESULT FILEDLG95_InitControls(HWND hwnd) rectTB.bottom = rectlook.top - 1 + rectTB.bottom - rectTB.top; rectTB.left = rectlook.right; rectTB.top = rectlook.top-1; + height = rectlook.bottom - rectlook.top; if (fodInfos->unicode) fodInfos->DlgInfos.hwndTB = CreateWindowExW(0, TOOLBARCLASSNAMEW, NULL, @@ -1584,6 +1586,7 @@ static LRESULT FILEDLG95_InitControls(HWND hwnd) /* Finish Toolbar Construction */ SendMessageW(fodInfos->DlgInfos.hwndTB, TB_ADDBUTTONSW, 9, (LPARAM) tbb); + SendMessageW(fodInfos->DlgInfos.hwndTB, TB_SETBUTTONSIZE, 0, MAKELPARAM(height, height)); SendMessageW(fodInfos->DlgInfos.hwndTB, TB_AUTOSIZE, 0, 0); if (is_places_bar_enabled(fodInfos)) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2849