Fix cropped text in Shortcut mapper's status area issue

Adjust padding to fix ShortcutMapper visual glitch.

Fix #10358, close #11536
This commit is contained in:
ozone10 2022-04-14 08:46:19 +02:00 committed by Don Ho
parent 5d5d2025af
commit 4f002c86b8
1 changed files with 1 additions and 1 deletions

View File

@ -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);