diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-12-19 14:43:29 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-12-19 14:50:36 -0500 |
| commit | 6adfa92a7e16b3674bb363a2e3ca15fe22cc96b8 (patch) | |
| tree | 3146ad2aca5b7f99d79410a847d8a48bf97ece71 /Source/Core | |
| parent | ca18e51450a8155bb66cf0816f25057717a792c6 (diff) | |
ControllerConfigDiag: Potentially fix scaling problems on high DPI
Fixes issue 7940 hopefully.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinWX/ControllerConfigDiag.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/ControllerConfigDiag.cpp b/Source/Core/DolphinWX/ControllerConfigDiag.cpp index f1a36c7efa..94724a1c49 100644 --- a/Source/Core/DolphinWX/ControllerConfigDiag.cpp +++ b/Source/Core/DolphinWX/ControllerConfigDiag.cpp @@ -65,6 +65,7 @@ ControllerConfigDiag::ControllerConfigDiag(wxWindow* const parent) Bind(wxEVT_BUTTON, &ControllerConfigDiag::Save, this, wxID_OK); Bind(wxEVT_BUTTON, &ControllerConfigDiag::Cancel, this, wxID_CANCEL); + SetLayoutAdaptationMode(wxDIALOG_ADAPTATION_MODE_ENABLED); SetSizerAndFit(main_sizer); Center(); } |
