diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-04-28 04:24:52 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-04-28 04:24:52 -0400 |
| commit | 79dff19aa0c9f649f9d0783025198a88cd2a8ff0 (patch) | |
| tree | c0b046580de495eb5c274634906407bd228fdd77 /Source | |
| parent | c58e94cf95c20e52fe65254d3de29e82a4c48994 (diff) | |
| parent | 8f56138ec45a72ad4ef865f472adc87292d23005 (diff) | |
Merge pull request #2337 from illuminatedgeek/config-tabs
Config tabs
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp | 15 | ||||
| -rw-r--r-- | Source/Core/DolphinWX/Config/ConfigMain.cpp | 2 |
2 files changed, 10 insertions, 7 deletions
diff --git a/Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp b/Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp index 8dd69d1e3f..4ce88c4c4d 100644 --- a/Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp +++ b/Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp @@ -29,14 +29,15 @@ void AdvancedConfigPane::InitializeGUI() m_clock_override_slider->Bind(wxEVT_SLIDER, &AdvancedConfigPane::OnClockOverrideSliderChanged, this); wxStaticText* const clock_override_description = new wxStaticText(this, wxID_ANY, - _("Higher values can make variable-framerate games\n" - "run at a higher framerate, at the expense of CPU.\n" - "Lower values can make variable-framerate games\n" + _("Higher values can make variable-framerate games " + "run at a higher framerate, at the expense of CPU. " + "Lower values can make variable-framerate games " "run at a lower framerate, saving CPU.\n\n" - "WARNING: Changing this from the default (100%)\n" - "can and will break games and cause glitches.\n" - "Do so at your own risk. Please do not report\n" - "bugs that occur with a non-default clock.\n")); + "WARNING: Changing this from the default (100%) " + "can and will break games and cause glitches. " + "Do so at your own risk. Please do not report " + "bugs that occur with a non-default clock. ")); + clock_override_description->Wrap(400); wxBoxSizer* const clock_override_checkbox_sizer = new wxBoxSizer(wxHORIZONTAL); clock_override_checkbox_sizer->Add(m_clock_override_checkbox); diff --git a/Source/Core/DolphinWX/Config/ConfigMain.cpp b/Source/Core/DolphinWX/Config/ConfigMain.cpp index f96b47688d..3f882591a1 100644 --- a/Source/Core/DolphinWX/Config/ConfigMain.cpp +++ b/Source/Core/DolphinWX/Config/ConfigMain.cpp @@ -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(); |
