a better solution for automation axis name labels
This commit is contained in:
parent
be2322ef2b
commit
626d97b13a
@ -227,7 +227,7 @@ AutomationTimeAxisView::AutomationTimeAxisView (
|
|||||||
name_label.set_alignment (Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER);
|
name_label.set_alignment (Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER);
|
||||||
name_label.set_name (X_("TrackParameterName"));
|
name_label.set_name (X_("TrackParameterName"));
|
||||||
name_label.set_ellipsize (Pango::ELLIPSIZE_END);
|
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 */
|
/* add the buttons */
|
||||||
controls_table.set_border_width (1);
|
controls_table.set_border_width (1);
|
||||||
|
Loading…
Reference in New Issue
Block a user