epgplus: get sure we have enough space for detailsline

Origin commit data
------------------
Commit: cf229bb3af
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-04-13 (Thu, 13 Apr 2017)

Origin message was:
------------------
- epgplus: get sure we have enough space for detailsline
This commit is contained in:
vanhofen
2017-04-13 11:20:10 +02:00
parent dee8749087
commit 765871fe52

View File

@@ -803,6 +803,8 @@ void EpgPlus::init()
this->usableScreenHeight = headerHeight + timeLineHeight + this->bodyHeight + buttonHeight + OFFSET_INTER + footerHeight; // recalc deltaY this->usableScreenHeight = headerHeight + timeLineHeight + this->bodyHeight + buttonHeight + OFFSET_INTER + footerHeight; // recalc deltaY
this->usableScreenX = getScreenStartX(this->usableScreenWidth); this->usableScreenX = getScreenStartX(this->usableScreenWidth);
if (this->usableScreenX < DETAILSLINE_WIDTH)
this->usableScreenX = DETAILSLINE_WIDTH;
this->usableScreenY = getScreenStartY(this->usableScreenHeight); this->usableScreenY = getScreenStartY(this->usableScreenHeight);
this->headerX = this->usableScreenX; this->headerX = this->usableScreenX;