summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-12-10 19:20:26 +0100
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-12-10 19:20:26 +0100
commit07e0f562da4b0a2cc9be44d2f771f9347e1cc368 (patch)
tree08d502a73980cccce8a51676db600f01238995ee
parentc6c99a81ec646bbc016564f57da1dbb20ff5643b (diff)
downloadskin-flatplus-07e0f562da4b0a2cc9be44d2f771f9347e1cc368.tar.gz
skin-flatplus-07e0f562da4b0a2cc9be44d2f771f9347e1cc368.tar.bz2
fix recording menu total count size
-rw-r--r--HISTORY1
-rw-r--r--displaymenu.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 7469c30f..e6283c04 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3,6 +3,7 @@ VDR Plugin 'skinflatplus' Revision History
2014-XX-XX: Version 0.5.1
- [fix] topbar number recordings
+- [fix] recording menu, total count size
- [fix] timer widget
- [update] timer widget
new options to select which timer to show (recording, active)
diff --git a/displaymenu.c b/displaymenu.c
index 902ed562..43284011 100644
--- a/displaymenu.c
+++ b/displaymenu.c
@@ -2037,8 +2037,8 @@ bool cFlatDisplayMenu::SetItemRecording(const cRecording *Recording, int Index,
Top += fontHeight;
buffer = cString::sprintf(" %d", Total);
- menuPixmap->DrawText(cPoint(Left, Top), buffer, ColorFg, ColorBg, fontSml, fontSml->Width(" 999"), fontSmlHeight, taRight);
- Left += fontSml->Width(" 999 ");
+ menuPixmap->DrawText(cPoint(Left, Top), buffer, ColorFg, ColorBg, fontSml, fontSml->Width(" 9999"), fontSmlHeight, taRight);
+ Left += fontSml->Width(" 9999 ");
if( imgRecNewSml )
menuIconsPixmap->DrawImage( cPoint(Left, Top), *imgRecNewSml );