From dd66d3ac5f0ee92a3b53cc9b6ccfd8e717955eac Mon Sep 17 00:00:00 2001 From: "avihal@gmail.com" Date: Sun, 30 Jan 2011 20:14:16 +0000 Subject: [PATCH] Presets slider: added minimum size (there were complaints that it's barely visible in Linux). If you happen to test it on linux, please let me know that the presets controls appear and are usable (checkbox, the word 'Preset', a slider that can be set to 6 positions, and a colored preset name) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4277 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/gui/Dialogs/SysConfigDialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcsx2/gui/Dialogs/SysConfigDialog.cpp b/pcsx2/gui/Dialogs/SysConfigDialog.cpp index 3bef707e0e..f549cd0896 100644 --- a/pcsx2/gui/Dialogs/SysConfigDialog.cpp +++ b/pcsx2/gui/Dialogs/SysConfigDialog.cpp @@ -129,6 +129,7 @@ void Dialogs::SysConfigDialog::AddPresetsControl() { m_slider_presets = new wxSlider( this, wxID_ANY, g_Conf->PresetIndex, 0, AppConfig::GetMaxPresetIndex(), wxDefaultPosition, wxDefaultSize, wxHORIZONTAL /*| wxSL_AUTOTICKS | wxSL_LABELS */); + m_slider_presets->SetMinSize(wxSize(100,25)); m_slider_presets->SetToolTip( pxEt( "!Notice:Tooltip:Presets:Slider",