summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_time_axis.cc
diff options
context:
space:
mode:
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>2016-08-20 18:32:37 +0200
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>2016-08-20 18:32:37 +0200
commitec74d4b0d0bfa88d1550c8b3ebbeef88499c2a7b (patch)
tree52571208d14c0c42b1992f6736428072c22c2528 /gtk2_ardour/automation_time_axis.cc
parentfcadcac7e7c6959c0306bfadaf21ded20a2ea5ea (diff)
Avoid jitter of track headers width when changing automation states
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r--gtk2_ardour/automation_time_axis.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc
index 434f1df9e1..05278a3520 100644
--- a/gtk2_ardour/automation_time_axis.cc
+++ b/gtk2_ardour/automation_time_axis.cc
@@ -159,6 +159,12 @@ AutomationTimeAxisView::AutomationTimeAxisView (
auto_dropdown.AddMenuElem (MenuElem (_("Touch"), sigc::bind (sigc::mem_fun(*this,
&AutomationTimeAxisView::set_automation_state), (AutoState) Touch)));
+ /* XXX translators: use a string here that will be at least as long
+ as the longest automation label (see ::automation_state_changed()
+ below). be sure to include a descender.
+ */
+ auto_dropdown.set_sizing_text(_("Mgnual"));
+
hide_button.set_icon (ArdourIcon::CloseCross);
hide_button.set_tweaks(ArdourButton::TrackHeader);