- epgview: use OFFSET define for navigation bar

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-01-19 15:34:40 +01:00
committed by Thilo Graf
parent ff72261eb7
commit dec82897bd

View File

@@ -144,7 +144,7 @@ void CEpgData::start()
font_title = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE]; font_title = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE];
topheight = font_title->getHeight(); topheight = font_title->getHeight();
topboxheight = topheight + 6; topboxheight = topheight + 6;
botboxheight = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_DATE]->getHeight() + 6; botboxheight = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_DATE]->getHeight() + 2*OFFSET_INNER_MIN;
// not really a CComponentsFooter but let's take its height // not really a CComponentsFooter but let's take its height
CComponentsFooter footer; CComponentsFooter footer;
buttonheight = footer.getHeight(); buttonheight = footer.getHeight();