summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-12-19 14:43:29 -0500
committerLioncash <mathew1800@gmail.com>2014-12-19 14:50:36 -0500
commit6adfa92a7e16b3674bb363a2e3ca15fe22cc96b8 (patch)
tree3146ad2aca5b7f99d79410a847d8a48bf97ece71 /Source
parentca18e51450a8155bb66cf0816f25057717a792c6 (diff)
ControllerConfigDiag: Potentially fix scaling problems on high DPI
Fixes issue 7940 hopefully.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinWX/ControllerConfigDiag.cpp1
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();
}