diff options
Diffstat (limited to 'dummygrid.c')
-rw-r--r-- | dummygrid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dummygrid.c b/dummygrid.c index f2c5c03..97a8d1a 100644 --- a/dummygrid.c +++ b/dummygrid.c @@ -21,7 +21,7 @@ void cDummyGrid::PositionPixmap() { int x0, y0; if (tvguideConfig.displayMode == eVertical) { x0 = column->getX(); - y0 = tvguideConfig.statusHeaderHeight + tvguideConfig.channelHeaderHeight; + y0 = tvguideConfig.statusHeaderHeight + tvguideConfig.channelHeaderHeight + tvguideConfig.channelGroupsHeight; if ( column->Start() < StartTime() ) { y0 += (StartTime() - column->Start())/60*tvguideConfig.minutePixel; } @@ -34,7 +34,7 @@ void cDummyGrid::PositionPixmap() { pixmap->SetViewPort(cRect(x0, y0, tvguideConfig.colWidth, viewportHeight)); } } else if (tvguideConfig.displayMode == eHorizontal) { - x0 = tvguideConfig.channelHeaderWidth; + x0 = tvguideConfig.channelHeaderWidth + tvguideConfig.channelGroupsWidth; y0 = column->getY(); if ( column->Start() < StartTime() ) { x0 += (StartTime() - column->Start())/60*tvguideConfig.minutePixel; |