13
0

set size request for automation lane name label, to prevent it from changing tracker header width

This commit is contained in:
Paul Davis 2020-04-03 14:11:14 -06:00
parent f26dd1f13d
commit be2322ef2b

View File

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