diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-05 01:03:36 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-05 01:03:36 +0000 |
commit | eaf58fdd50a79aa4fa2760ca5dbeb2dd4cda2e15 (patch) | |
tree | 26a12ee6caeaccedd2859a4401fd4f3d7eacaa8b /gtk2_ardour/option_editor.cc | |
parent | 9b2e242cb5cad2340e8dd1008b8bf3f0ce70c12f (diff) |
Marginal cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@12565 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/option_editor.cc')
-rw-r--r-- | gtk2_ardour/option_editor.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc index ca8fa0a2cf..e1946002c1 100644 --- a/gtk2_ardour/option_editor.cc +++ b/gtk2_ardour/option_editor.cc @@ -87,8 +87,7 @@ OptionEditorHeading::OptionEditorHeading (string const & h) { std::stringstream s; s << "<b>" << h << "</b>"; - _label = manage (new Label (s.str())); - _label->set_alignment (0, 0.5); + _label = manage (left_aligned_label (s.str())); _label->set_use_markup (true); } @@ -141,8 +140,7 @@ EntryOption::EntryOption (string const & i, string const & n, sigc::slot<string> _get (g), _set (s) { - _label = manage (new Label (n + ":")); - _label->set_alignment (0, 0.5); + _label = manage (left_aligned_label (n + ":")); _entry = manage (new Entry); _entry->signal_activate().connect (sigc::mem_fun (*this, &EntryOption::activated)); } |