mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
infoviewer_bb: take footer height from CComponentsFooter ...
to get this footer in sync with the footers of other gui elements
Origin commit data
------------------
Commit: 2e4b0023ab
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-28 (Tue, 28 Nov 2017)
Origin message was:
------------------
- infoviewer_bb: take footer height from CComponentsFooter ...
to get this footer in sync with the footers of other gui elements
This commit is contained in:
@@ -126,7 +126,10 @@ void CInfoViewerBB::Init()
|
|||||||
bbButtonInfo[i].x = -1;
|
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();
|
initBBOffset();
|
||||||
|
|
||||||
changePB();
|
changePB();
|
||||||
|
Reference in New Issue
Block a user