diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-03 14:25:13 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-03 14:25:13 -0600 |
commit | 626d97b13ae4226b4a024f9de68ee1450a682389 (patch) | |
tree | a74ba7399cbc528d40d914bc9985d254ac6455ac /gtk2_ardour/automation_time_axis.cc | |
parent | be2322ef2b02b4de3c9bad681069f78129c1726e (diff) |
a better solution for automation axis name labels
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r-- | gtk2_ardour/automation_time_axis.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |