1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-20 22:04:23 +02:00

Some more regions/countries rendering improvement

This commit is contained in:
2020-02-16 20:31:09 +01:00
parent 2c114f43c5
commit f333a76ef7
4 changed files with 12 additions and 4 deletions

View File

@ -127,6 +127,7 @@ static QFont *font(Style::FontSize size, Style::FontSize defaultSize
static QFont large = pixelSizeFont(16);
static QFont normal = pixelSizeFont(14);
static QFont small = pixelSizeFont(12);
static QFont extraSmall = pixelSizeFont(10);
switch (size) {
case Style::None:
@ -137,6 +138,8 @@ static QFont *font(Style::FontSize size, Style::FontSize defaultSize
return &normal;
case Style::Small:
return &small;
case Style::ExtraSmall:
return &extraSmall;
default:
return font(defaultSize);
}