13
0

use smaller ("very small") text for rulers on macOS

This fixes a years-long visual issue with the rulers on macOS, where the
text has been MUCH larger than on Linux (and maybe Windows, not sure)
This commit is contained in:
Paul Davis 2024-11-08 17:16:12 -07:00
parent 8196734e3f
commit a76afae0e9

View File

@ -134,7 +134,11 @@ Editor::initialize_rulers ()
{
ruler_grabbed_widget = 0;
Pango::FontDescription font (UIConfiguration::instance().get_SmallerFont());
#ifdef __APPLE__
Pango::FontDescription font (UIConfiguration::instance().get_VerySmallFont());
#else
Pango::FontDescription font (UIConfiguration::instance().get_SmallFont());
#endif
Pango::FontDescription larger_font (UIConfiguration::instance().get_SmallBoldFont());
_timecode_metric = new TimecodeMetric (this);