mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
fixed text on short dummy grids
This commit is contained in:
parent
0338b9166f
commit
6a0447e7a8
@ -67,6 +67,11 @@ void cDummyGrid::drawText() {
|
||||
|
||||
}
|
||||
} else if (tvguideConfig.displayMode == eHorizontal) {
|
||||
if (Width()/tvguideConfig.minutePixel < 10) {
|
||||
int titleY = (tvguideConfig.rowHeight - tvguideConfig.FontGridHorizontal->Height())/2;
|
||||
pixmap->DrawText(cPoint(borderWidth - 2, titleY), "...", theme.Color(clrFont), clrTransparent, tvguideConfig.FontGridHorizontal);
|
||||
return;
|
||||
}
|
||||
int titleY = (tvguideConfig.rowHeight - tvguideConfig.FontGridHorizontal->Height())/2;
|
||||
pixmap->DrawText(cPoint(borderWidth, titleY), *strText, theme.Color(clrFont), clrTransparent, tvguideConfig.FontGridHorizontal);
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ clrFontHeader = FF000000
|
||||
clrHeader = FFFFFFFF
|
||||
clrBorder = FF000000
|
||||
clrStatusHeader = DDFFFFFF
|
||||
clrTimeline1 = FFFFFFFF
|
||||
clrTimeline1 = FFDDDDDD
|
||||
clrTimeline1Blending = 00000000
|
||||
clrTimeline2 = FF000000
|
||||
clrTimeline2Blending = 00000000
|
||||
|
Loading…
Reference in New Issue
Block a user