Merge pull request #1718 from lioncash/wxdoesitagain
ControllerConfigDiag: Potentially fix scaling problems on high DPI
This commit is contained in:
commit
9465a877f8
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue