Set minimum size on config window

To prevent tabs from getting a scrollbar
This commit is contained in:
Simon McFarlane 2015-04-27 22:33:11 -07:00
parent c58e94cf95
commit df7c9664da
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ void CConfigMain::CreateGUIControls()
main_sizer->Add(Notebook, 1, wxEXPAND | wxALL, 5);
main_sizer->Add(CreateButtonSizer(wxOK), 0, wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM, 5);
main_sizer->SetMinSize(400, 0);
SetSizerAndFit(main_sizer);
Center();
SetFocus();