diff options
Diffstat (limited to 'epggrid.c')
-rw-r--r-- | epggrid.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -131,12 +131,7 @@ void cEpgGrid::drawText() { } } } else if (config.displayMode == eHorizontal) { - if (Width() / geoManager.minutePixel < 10) { - int titleY = (geoManager.rowHeight - fontManager.FontGridHorizontal->Height()) / 2; - pixmap->DrawText(cPoint(borderWidth - 2, titleY), "...", colorText, colorTextBack, fontManager.FontGridHorizontal); - return; - } - cString strTitle = CutText(event->Title(), viewportHeight, fontManager.FontGridHorizontal).c_str(); + cString strTitle = CutText(event->Title(), viewportHeight - borderWidth, fontManager.FontGridHorizontal).c_str(); int titleY = 0; if (config.showTimeInGrid) { // mit Zeitangabe im Grid pixmap->DrawText(cPoint(borderWidth, borderWidth), *timeString, colorText, colorTextBack, fontManager.FontGridHorizontalSmall); |