summaryrefslogtreecommitdiff
path: root/gtk2_ardour/option_editor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-07-01 14:52:35 +0200
committerRobin Gareus <robin@gareus.org>2014-07-01 14:52:35 +0200
commit4244ea65460b865f946551aace9b74191b26be4b (patch)
tree12fcd721f9d5054cb62056ddb21bcef0a30d55fd /gtk2_ardour/option_editor.cc
parentb47c20783d2f509cfff025427da4651cefa58576 (diff)
left-align all pref/option labels for consistency.
Diffstat (limited to 'gtk2_ardour/option_editor.cc')
-rw-r--r--gtk2_ardour/option_editor.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc
index 39817e464f..36ff825c1b 100644
--- a/gtk2_ardour/option_editor.cc
+++ b/gtk2_ardour/option_editor.cc
@@ -257,6 +257,7 @@ FaderOption::FaderOption (string const & i, string const & n, sigc::slot<gain_t>
_db_slider = manage (new HSliderController (&_db_adjustment, 115, 18, false));
_label.set_text (n + ":");
+ _label.set_alignment (0, 0.5);
_label.set_name (X_("OptionsLabel"));
_fader_centering_box.pack_start (*_db_slider, true, false);
@@ -466,7 +467,10 @@ DirectoryOption::set_state_from_config ()
void
DirectoryOption::add_to_page (OptionEditorPage* p)
{
- add_widgets_to_page (p, manage (new Label (_name)), &_file_chooser);
+ Gtk::Label *label = manage (new Label (_name));
+ label->set_alignment (0, 0.5);
+ label->set_name (X_("OptionsLabel"));
+ add_widgets_to_page (p, label, &_file_chooser);
}
void