mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Set minimum size on config window
To prevent tabs from getting a scrollbar
This commit is contained in:
@ -81,6 +81,8 @@ void CConfigMain::CreateGUIControls()
|
|||||||
main_sizer->Add(Notebook, 1, wxEXPAND | wxALL, 5);
|
main_sizer->Add(Notebook, 1, wxEXPAND | wxALL, 5);
|
||||||
main_sizer->Add(CreateButtonSizer(wxOK), 0, wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM, 5);
|
main_sizer->Add(CreateButtonSizer(wxOK), 0, wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM, 5);
|
||||||
|
|
||||||
|
main_sizer->SetMinSize(400, 0);
|
||||||
|
|
||||||
SetSizerAndFit(main_sizer);
|
SetSizerAndFit(main_sizer);
|
||||||
Center();
|
Center();
|
||||||
SetFocus();
|
SetFocus();
|
||||||
|
Reference in New Issue
Block a user