[Frame Rate Counter] Shrink it a little bit

Prevents "Show CPU Usage" from cutting off in HIDPI configurations
This commit is contained in:
oddMLan 2019-04-20 13:17:42 -07:00
parent cad17b23a0
commit 61465ce2a5
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ void CMainGui::Resize(DWORD /*fwSizeType*/, WORD nWidth, WORD nHeight)
GetClientRect((HWND)m_hStatusWnd, &swrect);
int Parts[2];
Parts[0] = (int) (nWidth - 140 * DPIScale(m_hStatusWnd));
Parts[0] = (int) (nWidth - 135 * DPIScale(m_hStatusWnd));
Parts[1] = nWidth;
SendMessage((HWND)m_hStatusWnd, SB_SETPARTS, 2, (LPARAM)&Parts[0]);