mirror of https://github.com/PCSX2/pcsx2.git
Debugger: Make memory search size depend on platform
This commit is contained in:
parent
8113e9a168
commit
4ccb922d1a
|
@ -115,8 +115,11 @@ CpuTabPage::CpuTabPage(wxWindow* parent, DebugInterface* _cpu)
|
||||||
|
|
||||||
wxBoxSizer *memorySizer = new wxBoxSizer(wxHORIZONTAL);
|
wxBoxSizer *memorySizer = new wxBoxSizer(wxHORIZONTAL);
|
||||||
memorySizer->Add(memory, 1, wxEXPAND);
|
memorySizer->Add(memory, 1, wxEXPAND);
|
||||||
|
#ifdef _WIN32
|
||||||
memorySearch->SetMaxSize(wxSize(310 * MSW_GetDPIScale(), -1));
|
memorySearch->SetMaxSize(wxSize(310 * MSW_GetDPIScale(), -1));
|
||||||
|
#else
|
||||||
|
memorySearch->SetMaxSize(wxSize(330, -1));
|
||||||
|
#endif
|
||||||
memorySizer->Add(memorySearch, 1, wxEXPAND);
|
memorySizer->Add(memorySearch, 1, wxEXPAND);
|
||||||
memoryPanel->SetSizer(memorySizer);
|
memoryPanel->SetSizer(memorySizer);
|
||||||
memoryPanel->SetBackgroundColour(wxTransparentColor);
|
memoryPanel->SetBackgroundColour(wxTransparentColor);
|
||||||
|
|
Loading…
Reference in New Issue