mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
ControllerConfigDiag: Potentially fix scaling problems on high DPI
Fixes issue 7940 hopefully.
This commit is contained in:
@ -65,6 +65,7 @@ ControllerConfigDiag::ControllerConfigDiag(wxWindow* const parent)
|
|||||||
Bind(wxEVT_BUTTON, &ControllerConfigDiag::Save, this, wxID_OK);
|
Bind(wxEVT_BUTTON, &ControllerConfigDiag::Save, this, wxID_OK);
|
||||||
Bind(wxEVT_BUTTON, &ControllerConfigDiag::Cancel, this, wxID_CANCEL);
|
Bind(wxEVT_BUTTON, &ControllerConfigDiag::Cancel, this, wxID_CANCEL);
|
||||||
|
|
||||||
|
SetLayoutAdaptationMode(wxDIALOG_ADAPTATION_MODE_ENABLED);
|
||||||
SetSizerAndFit(main_sizer);
|
SetSizerAndFit(main_sizer);
|
||||||
Center();
|
Center();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user