From 626d97b13ae4226b4a024f9de68ee1450a682389 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 3 Apr 2020 14:25:13 -0600 Subject: [PATCH] a better solution for automation axis name labels --- gtk2_ardour/automation_time_axis.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index 8e3121bf23..508c42faa5 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -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);