From 4f002c86b8f6ca5cbdbd4d361dff6a5bf3ff2d54 Mon Sep 17 00:00:00 2001 From: ozone10 Date: Thu, 14 Apr 2022 08:46:19 +0200 Subject: [PATCH] Fix cropped text in Shortcut mapper's status area issue Adjust padding to fix ShortcutMapper visual glitch. Fix #10358, close #11536 --- PowerEditor/src/WinControls/Grid/ShortcutMapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/WinControls/Grid/ShortcutMapper.cpp b/PowerEditor/src/WinControls/Grid/ShortcutMapper.cpp index 54a67d0a0..c19020904 100644 --- a/PowerEditor/src/WinControls/Grid/ShortcutMapper.cpp +++ b/PowerEditor/src/WinControls/Grid/ShortcutMapper.cpp @@ -69,7 +69,7 @@ void ShortcutMapper::getClientRect(RECT & rc) const int infoH = infoRect.bottom - infoRect.top; int filterH = filterRect.bottom - filterRect.top; int btnH = btnRect.bottom - btnRect.top; - int paddingBottom = btnH; + int paddingBottom = btnH + NppParameters::getInstance()._dpiManager.scaleY(16); rc.bottom -= btnH + filterH + infoH + paddingBottom; rc.left += NppParameters::getInstance()._dpiManager.scaleX(5);