a better solution for automation axis name labels

This commit is contained in:
Paul Davis 2020-04-03 14:25:13 -06:00
parent be2322ef2b
commit 626d97b13a
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +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 */
name_label.set_size_request (floor (50.0 * UIConfiguration::instance().get_ui_scale()), -1);
/* add the buttons */
controls_table.set_border_width (1);