- cc_item_text: avoid using INFOBAR_SMALL font; use MENU_INFO instead

it's a small font too
This commit is contained in:
svenhoefer
2016-08-15 19:32:46 +02:00
parent 54f2ac510f
commit c35414bc56
2 changed files with 2 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ bool paintBoxRel0( const int& x,
* @param[in] y position * @param[in] y position
* @param[in] dx witdh * @param[in] dx witdh
* @param[in] dy height * @param[in] dy height
* @param[in] *font pointer to font type object, default = NULL, sets g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL] as default font * @param[in] *font pointer to font type object, default = NULL, sets g_Font[SNeutrinoSettings::FONT_TYPE_MENU_INFO] as default font
* @param[in] color_body color of box, default = COL_MENUCONTENT_PLUS_0 * @param[in] color_body color of box, default = COL_MENUCONTENT_PLUS_0
* @param[in] font_style font style * @param[in] font_style font style
* @li CComponentsText::FONT_STYLE_REGULAR (default) * @li CComponentsText::FONT_STYLE_REGULAR (default)

View File

@@ -118,7 +118,7 @@ void CComponentsText::initCCText()
{ {
//set default font, if is no font definied //set default font, if is no font definied
if (ct_font == NULL) if (ct_font == NULL)
ct_font = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]; ct_font = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_INFO];
//define height from font size //define height from font size
height = max(height, ct_font->getHeight()); height = max(height, ct_font->getHeight());