From 6adfa92a7e16b3674bb363a2e3ca15fe22cc96b8 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 19 Dec 2014 14:43:29 -0500 Subject: [PATCH] ControllerConfigDiag: Potentially fix scaling problems on high DPI Fixes issue 7940 hopefully. --- Source/Core/DolphinWX/ControllerConfigDiag.cpp | 1 + 1 file changed, 1 insertion(+) 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(); }