[Frame Rate Counter] Shrink it a little bit
Prevents "Show CPU Usage" from cutting off in HIDPI configurations
This commit is contained in:
parent
cad17b23a0
commit
61465ce2a5
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue