Debugger: Make memory search size depend on platform

This commit is contained in:
Ty Lamontagne authored and refractionpcsx2 committed 2022-02-04 16:52:27 +00:00
1 parent 8113e9a168
commit 4ccb922d1a
1 file changed
+4 -1
+4 -1
View File
@@ -115,8 +115,11 @@ CpuTabPage::CpuTabPage(wxWindow* parent, DebugInterface* _cpu)
wxBoxSizer *memorySizer = new wxBoxSizer(wxHORIZONTAL);
memorySizer->Add(memory, 1, wxEXPAND);
#ifdef _WIN32
memorySearch->SetMaxSize(wxSize(310 * MSW_GetDPIScale(), -1));
#else
memorySearch->SetMaxSize(wxSize(330, -1));
#endif
memorySizer->Add(memorySearch, 1, wxEXPAND);
memoryPanel->SetSizer(memorySizer);
memoryPanel->SetBackgroundColour(wxTransparentColor);