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 _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)); } diff --git a/gtk2_ardour/option_editor.h b/gtk2_ardour/option_editor.h index dd34b85057..c70e6c6bab 100644 --- a/gtk2_ardour/option_editor.h +++ b/gtk2_ardour/option_editor.h @@ -365,6 +365,7 @@ private: Gtk::Entry _db_display; Gtk::Label _label; Gtk::HBox _box; + Gtk::VBox _fader_centering_box; sigc::slot _get; sigc::slot _set; };