summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_time_axis.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-04-03 14:11:14 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-04-03 14:11:14 -0600
commitbe2322ef2b02b4de3c9bad681069f78129c1726e (patch)
tree11b51bd5a67cc3ec994f40d95b100103cdd285cf /gtk2_ardour/automation_time_axis.cc
parentf26dd1f13d43e642a43be330c9ff1960af84c805 (diff)
set size request for automation lane name label, to prevent it from changing tracker header width
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r--gtk2_ardour/automation_time_axis.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc
index 17e4877f3a..8e3121bf23 100644
--- a/gtk2_ardour/automation_time_axis.cc
+++ b/gtk2_ardour/automation_time_axis.cc
@@ -227,6 +227,7 @@ AutomationTimeAxisView::AutomationTimeAxisView (
name_label.set_alignment (Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER);
name_label.set_name (X_("TrackParameterName"));
name_label.set_ellipsize (Pango::ELLIPSIZE_END);
+ set_size_request_to_display_given_text (name_label, X_("mmmm"), 0, 0); /* "4em" width, will expand as possible */
/* add the buttons */
controls_table.set_border_width (1);