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

Origin commit data
------------------
Commit: 63392accda
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-04 (Wed, 04 Dec 2013)
This commit is contained in:
2013-12-04 22:36:50 +01:00
parent 52be18ff3a
commit a3a711db84

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();