Change channel icon size in cRecMenuSearchTimerEdit

This commit is contained in:
kamel5 2019-04-14 13:03:22 +02:00
parent 6e83787437
commit d1e5e240ec

View File

@ -1988,9 +1988,9 @@ void cRecMenuItemChannelChooser::DrawValue(void) {
int logoWidth = height * tvguideConfig.logoWidthRatio / tvguideConfig.logoHeightRatio; int logoWidth = height * tvguideConfig.logoWidthRatio / tvguideConfig.logoHeightRatio;
int logoX = textX - logoWidth - 10; int logoX = textX - logoWidth - 10;
cImageLoader imgLoader; cImageLoader imgLoader;
if (imgLoader.LoadLogo(channel, logoWidth, height)) { if (imgLoader.LoadLogo(channel, logoWidth, height - 10)) {
cImage logo = imgLoader.GetImage(); cImage logo = imgLoader.GetImage();
pixmapChannel->DrawImage(cPoint(logoX, 0), logo); pixmapChannel->DrawImage(cPoint(logoX, 5), logo);
} }
} else { } else {
cString textVal = tr("all Channels"); cString textVal = tr("all Channels");