Skip to content

Commit

Permalink
ControllerConfigDiag: Potentially fix scaling problems on high DPI
Browse files Browse the repository at this point in the history
  • Loading branch information
lioncash committed Dec 19, 2014
1 parent ca18e51 commit d30dedc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/DolphinWX/ControllerConfigDiag.cpp
Expand Up @@ -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();
}
Expand Down

0 comments on commit d30dedc

Please sign in to comment.