diff options
author | Ben Loftis <ben@glw.com> | 2008-03-30 02:40:10 +0000 |
---|---|---|
committer | Ben Loftis <ben@glw.com> | 2008-03-30 02:40:10 +0000 |
commit | 0d266d57eb16eff46dfa6bd22d2e75b86fb42fda (patch) | |
tree | 8a06b4fb0ea5cc2b4e350afab852710375faf269 | |
parent | cce287654e172c8c5c6591781fee1cd151675d67 (diff) |
hide the gain slider when track area is too small
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3197 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/route_time_axis.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 95417d5a5e..e232dbbd7b 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -739,6 +739,7 @@ RouteTimeAxisView::set_height (TrackHeight h) show_name_entry (); hide_name_label (); + gain_slider->show(); mute_button->show(); solo_button->show(); if (rec_enable_button) @@ -760,6 +761,7 @@ RouteTimeAxisView::set_height (TrackHeight h) show_name_entry (); hide_name_label (); + gain_slider->hide(); mute_button->show(); solo_button->show(); if (rec_enable_button) @@ -781,6 +783,7 @@ RouteTimeAxisView::set_height (TrackHeight h) hide_name_entry (); show_name_label (); + gain_slider->hide(); mute_button->hide(); solo_button->hide(); if (rec_enable_button) |