- epgplus: get sure we have enough space for detailsline

This commit is contained in:
svenhoefer
2017-04-13 11:20:10 +02:00
parent 8bfee0b7dc
commit cf229bb3af

View File

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