CComponentsHeader: use also lower height if size mode==CC_HEADER_SIZE_SMALL

This commit is contained in:
2013-12-04 22:36:50 +01:00
parent ad80daea96
commit 63392accda

View File

@@ -361,6 +361,7 @@ void CComponentsHeader::initCCItems()
{
//set size
cch_font = (cch_size_mode == CC_HEADER_SIZE_LARGE? g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE] : g_Font[SNeutrinoSettings::FONT_TYPE_MENU]);
height = cch_font->getHeight();
//init icon
initIcon();