Allow to use "extremely large" font size.

It looks fine in most places.
This commit is contained in:
Deve 2019-11-07 22:01:25 +01:00
parent b5f3fafaac
commit 4f9070ee53
2 changed files with 2 additions and 6 deletions

View File

@ -27,9 +27,6 @@
<spacer width="2%" height="100%"/>
<box width="80%" height="100%" layout="vertical-row">
<spacer width="5" height="1%"/>
<label width="100%" I18N="In the video settings" text="Graphics"/>
<spacer width="5" height="1%"/>
<!-- ************ GRAPHICAL EFFECTS SETTINGS ************ -->

View File

@ -169,19 +169,18 @@ void OptionsScreenUI::loadedFromFile()
font_size->addLabel(_("Large"));
//I18N: In the UI options, Very large font size
font_size->addLabel(_("Very large"));
font_size->addLabel(L"Extremely large");
font_size->addLabel(_("Extremely large"));
if (UserConfigParams::m_artist_debug_mode)
{
// Only show extreme size in artist debug mode
font_size->m_properties[GUIEngine::PROP_MIN_VALUE] = "0";
font_size->m_properties[GUIEngine::PROP_MAX_VALUE] = "6";
}
else
{
font_size->m_properties[GUIEngine::PROP_MIN_VALUE] = "1";
font_size->m_properties[GUIEngine::PROP_MAX_VALUE] = "5";
}
font_size->m_properties[GUIEngine::PROP_MAX_VALUE] = "6";
} // loadedFromFile
// -----------------------------------------------------------------------------