mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
infoviewer: revert useless big box for running time
The box is two times too big, truncating long EPG titles.
Origin commit data
------------------
Branch: ni/coolstream
Commit: fe494a6814
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-12-26 (Tue, 26 Dec 2017)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
9bb5953478
commit
e016bd1e7f
@@ -1812,10 +1812,10 @@ void CInfoViewer::display_Info(const char *current, const char *next,
|
||||
|
||||
int currTimeW = 0;
|
||||
int nextTimeW = 0;
|
||||
if (runningRest)
|
||||
currTimeW = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO]->getRenderWidth(runningRest)*2;
|
||||
if (runningRest) /* 10 is the space between title and time, might be good if this would be scaled... */
|
||||
currTimeW = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO]->getRenderWidth(runningRest) + 10;
|
||||
if (nextDuration)
|
||||
nextTimeW = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO]->getRenderWidth(nextDuration)*2;
|
||||
nextTimeW = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO]->getRenderWidth(nextDuration)+ 10;
|
||||
int currTimeX = BoxEndX - currTimeW - 10;
|
||||
currTimeX -= analogclock_size + analogclock_offset; //NI
|
||||
int nextTimeX = BoxEndX - nextTimeW - 10;
|
||||
|
Reference in New Issue
Block a user