epgview: use OFFSET define for navigation bar

Origin commit data
------------------
Branch: ni/coolstream
Commit: bb7f532506
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-19 (Fri, 19 Jan 2018)

Origin message was:
------------------
- epgview: use OFFSET define for navigation bar

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-01-19 15:34:40 +01:00
parent 212d08454a
commit eec4e01b4e

View File

@@ -149,7 +149,7 @@ void CEpgData::start()
font_title = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]; //NI
topheight = font_title->getHeight();
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
CComponentsFooter footer;
buttonheight = footer.getHeight();