infoviewer: fix calculation for time_width ...

... because some fonts has larger ' ' than ':'.
* align clock with 10 px right offset (same as the other elements)
* align depending elements with new clock dimensions


Origin commit data
------------------
Branch: ni/coolstream
Commit: 25f30a6fa4
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-12-18 (Thu, 18 Dec 2014)

Origin message was:
------------------
- infoviewer: fix calculation for time_width ...

 ... because some fonts has larger ' ' than ':'.
* align clock with 10 px right offset (same as the other elements)
* align depending elements with new clock dimensions


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2014-12-18 15:59:07 +01:00
parent 37b44ec783
commit 82b10410af
2 changed files with 11 additions and 14 deletions

View File

@@ -89,8 +89,6 @@ class CInfoViewer
//uint32_t fadeTimer;
COSDFader fader;
int time_left_width;
int time_dot_width;
int time_width;
int time_height;
int info_time_width;