13
0

Avoid jitter of track headers width when changing automation states

This commit is contained in:
Julien "_FrnchFrgg_" RIVAUD 2016-08-20 18:32:37 +02:00
parent fcadcac7e7
commit ec74d4b0d0

View File

@ -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);