From 61465ce2a57c860257790e068f84d511ee20b0c0 Mon Sep 17 00:00:00 2001 From: oddMLan Date: Sat, 20 Apr 2019 13:17:42 -0700 Subject: [PATCH] [Frame Rate Counter] Shrink it a little bit Prevents "Show CPU Usage" from cutting off in HIDPI configurations --- Source/Project64/UserInterface/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64/UserInterface/MainWindow.cpp b/Source/Project64/UserInterface/MainWindow.cpp index 99ca83989..a43989cca 100644 --- a/Source/Project64/UserInterface/MainWindow.cpp +++ b/Source/Project64/UserInterface/MainWindow.cpp @@ -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]);