From ec74d4b0d0bfa88d1550c8b3ebbeef88499c2a7b Mon Sep 17 00:00:00 2001 From: "Julien \"_FrnchFrgg_\" RIVAUD" Date: Sat, 20 Aug 2016 18:32:37 +0200 Subject: Avoid jitter of track headers width when changing automation states --- gtk2_ardour/automation_time_axis.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gtk2_ardour/automation_time_axis.cc') 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); -- cgit v1.2.3