summaryrefslogtreecommitdiff
path: root/gtk2_ardour/option_editor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-01-27 22:58:52 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-01-27 22:58:52 +0000
commit66cd3d365cd798045364493426aab11ca7421b01 (patch)
treeb0acaa844664584586772c98c729fbccace0a205 /gtk2_ardour/option_editor.cc
parent19ebdba1cbde4eca74af501fe500db05b1ac69d0 (diff)
tweak appearance of a FaderOption in the option editor(s)
git-svn-id: svn://localhost/ardour2/branches/3.0@11371 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/option_editor.cc')
-rw-r--r--gtk2_ardour/option_editor.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc
index f118566405..2142d23faa 100644
--- a/gtk2_ardour/option_editor.cc
+++ b/gtk2_ardour/option_editor.cc
@@ -184,12 +184,15 @@ FaderOption::FaderOption (string const & i, string const & n, sigc::slot<gain_t>
_label.set_text (n + ":");
_label.set_name (X_("OptionsLabel"));
+ _fader_centering_box.pack_start (*_db_slider, true, false);
+
_box.set_spacing (4);
- _box.pack_start (*_db_slider, false, false);
+ _box.set_homogeneous (false);
+ _box.pack_start (_fader_centering_box, false, false);
_box.pack_start (_db_display, false, false);
_box.show_all ();
- set_size_request_to_display_given_text (_db_display, "-99.0", 12, 12);
+ set_size_request_to_display_given_text (_db_display, "-99.00", 12, 12);
_db_adjustment.signal_value_changed().connect (sigc::mem_fun (*this, &FaderOption::db_changed));
}