#3792 Use font 10 and 14

This commit is contained in:
Magne Sjaastad 2018-12-03 14:19:47 +01:00
parent 4d25cd0c71
commit 68bc466830
2 changed files with 10 additions and 0 deletions

View File

@ -1832,10 +1832,18 @@ void RiaApplication::applyPreferences()
{ {
fontSizeType = caf::FixedAtlasFont::POINT_SIZE_8; fontSizeType = caf::FixedAtlasFont::POINT_SIZE_8;
} }
else if (m_preferences->fontSizeInScene() == "10")
{
fontSizeType = caf::FixedAtlasFont::POINT_SIZE_10;
}
else if (m_preferences->fontSizeInScene() == "12") else if (m_preferences->fontSizeInScene() == "12")
{ {
fontSizeType = caf::FixedAtlasFont::POINT_SIZE_12; fontSizeType = caf::FixedAtlasFont::POINT_SIZE_12;
} }
else if (m_preferences->fontSizeInScene() == "14")
{
fontSizeType = caf::FixedAtlasFont::POINT_SIZE_14;
}
else if (m_preferences->fontSizeInScene() == "16") else if (m_preferences->fontSizeInScene() == "16")
{ {
fontSizeType = caf::FixedAtlasFont::POINT_SIZE_16; fontSizeType = caf::FixedAtlasFont::POINT_SIZE_16;

View File

@ -249,7 +249,9 @@ QList<caf::PdmOptionItemInfo> RiaPreferences::calculateValueOptions(const caf::P
{ {
QStringList fontSizes; QStringList fontSizes;
fontSizes << "8"; fontSizes << "8";
fontSizes << "10";
fontSizes << "12"; fontSizes << "12";
fontSizes << "14";
fontSizes << "16"; fontSizes << "16";
fontSizes << "24"; fontSizes << "24";
fontSizes << "32"; fontSizes << "32";