mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
set a minor/micro tick font for Pianoroll BBT ruler
This commit is contained in:
parent
4a6716e39c
commit
37f318e417
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue