- infoviewer_bb: take footer height from CComponentsFooter ...

to get this footer in sync with the footers of other gui elements

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-11-28 14:41:42 +01:00
committed by Thilo Graf
parent fb56689b0b
commit 3276b5358a

View File

@@ -109,7 +109,10 @@ void CInfoViewerBB::Init()
bbButtonInfo[i].x = -1;
}
InfoHeightY_Info = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_FOOT]->getHeight() + 5;
// not really a CComponentsFooter but let's take its height
CComponentsFooter footer;
InfoHeightY_Info = footer.getHeight();
initBBOffset();
changePB();