13
0

triggerbox_UI: mark text for size-allocate-based resizing

This commit is contained in:
Paul Davis 2021-10-19 10:55:10 -06:00
parent d129a64890
commit ed823defe0

View File

@ -86,6 +86,7 @@ TriggerEntry::TriggerEntry (Canvas* canvas, ARDOUR::Trigger& t)
name_text = new Text (this);
name_text->set_font_description (UIConfiguration::instance().get_NormalFont());
name_text->set_height_based_on_allocation (true);
name_text->set_color (Gtkmm2ext::contrasting_text_color (fill_color()));
name_text->set_position (Duple (play_button->get().width() + (2. * scale), poly_margin));
name_text->set_ignore_events (true);