Ellipsize inactive track-header name-label #9674
This commit is contained in:
parent
082297b932
commit
bd4d6b4cba
@ -151,12 +151,15 @@ AxisView::set_name_ellipsize_mode ()
|
||||
switch (UIConfiguration::instance().get_time_axis_name_ellipsize_mode()) {
|
||||
case -1:
|
||||
name_label.set_ellipsize (Pango::ELLIPSIZE_START);
|
||||
inactive_label.set_ellipsize (Pango::ELLIPSIZE_START);
|
||||
break;
|
||||
case 1:
|
||||
name_label.set_ellipsize (Pango::ELLIPSIZE_END);
|
||||
inactive_label.set_ellipsize (Pango::ELLIPSIZE_END);
|
||||
break;
|
||||
default:
|
||||
name_label.set_ellipsize (Pango::ELLIPSIZE_MIDDLE);
|
||||
inactive_label.set_ellipsize (Pango::ELLIPSIZE_MIDDLE);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -160,6 +160,7 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess, PublicEditor& ed, TimeAxisVie
|
||||
|
||||
inactive_label.set_name (X_("TrackNameEditor"));
|
||||
inactive_label.set_alignment (0.0, 0.5);
|
||||
inactive_label.set_width_chars (12);
|
||||
set_tooltip (inactive_label, _("This track is inactive. (right-click to activate)"));
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user