set a minor/micro tick font for Pianoroll BBT ruler

This commit is contained in:
Paul Davis 2025-05-19 14:56:26 -06:00
parent 4a6716e39c
commit 37f318e417

View file

@ -578,9 +578,9 @@ Pianoroll::build_canvas ()
n_timebars++; n_timebars++;
#endif #endif
Pango::FontDescription font (UIConfiguration::instance().get_NormalBoldFont());
bbt_ruler = new ArdourCanvas::Ruler (time_line_group, &bbt_metric, ArdourCanvas::Rect (0, timebar_height * n_timebars, ArdourCanvas::COORD_MAX, timebar_height * (n_timebars+1))); bbt_ruler = new ArdourCanvas::Ruler (time_line_group, &bbt_metric, ArdourCanvas::Rect (0, timebar_height * n_timebars, ArdourCanvas::COORD_MAX, timebar_height * (n_timebars+1)));
bbt_ruler->set_font_description (font); bbt_ruler->set_font_description (UIConfiguration::instance().get_NormalBoldFont());
bbt_ruler->set_minor_font_description (UIConfiguration::instance().get_SmallFont());
Gtkmm2ext::Color base = UIConfiguration::instance().color ("ruler base"); Gtkmm2ext::Color base = UIConfiguration::instance().color ("ruler base");
Gtkmm2ext::Color text = UIConfiguration::instance().color ("ruler text"); Gtkmm2ext::Color text = UIConfiguration::instance().color ("ruler text");
bbt_ruler->set_fill_color (base); bbt_ruler->set_fill_color (base);