ControllerConfigDiag: Potentially fix scaling problems on high DPI
Fixes issue 7940 hopefully.
This commit is contained in:
1 parent
ca18e51450
commit
6adfa92a7e
1 file changed
+1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user