From a3a711db844d2d70c035076af35ceda1fe758c67 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 4 Dec 2013 22:36:50 +0100 Subject: [PATCH] CComponentsHeader: use also lower height if size mode==CC_HEADER_SIZE_SMALL Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/63392accda64952917665b8f7399b341e1ffc5c9 Author: Thilo Graf Date: 2013-12-04 (Wed, 04 Dec 2013) --- src/gui/components/cc_frm_header.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/components/cc_frm_header.cpp b/src/gui/components/cc_frm_header.cpp index e71ba2a67..73223928f 100644 --- a/src/gui/components/cc_frm_header.cpp +++ b/src/gui/components/cc_frm_header.cpp @@ -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();