From 2eff5f89729fd819e789ea933417e3f3af60ca63 Mon Sep 17 00:00:00 2001 From: Martin Schirrmacher Date: Sat, 14 Jun 2014 11:34:01 +0200 Subject: left align number recordings of folders in recording view --- HISTORY | 1 + displaymenu.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index fab0ba19..d069d6a6 100644 --- a/HISTORY +++ b/HISTORY @@ -10,6 +10,7 @@ VDR Plugin 'skinflatplus' Revision History - [update] crypted.png - [update] use 10_rect_sml.decor as default - [update] MV-Themes +- [update] left align number recordings of folders in recording view - [add] theme colors clrMenuEventTitleLine and clrMenuRecTitleLine for the line under title in event and recording - [add] theme color clrChannelEPGBorderFg and clrChannelEPGBorderBg for border color of epg image in chanel info - [add] decor option ChannelEPGBorderType and ChannelEPGBorderSize for border of epg image in chanel info diff --git a/displaymenu.c b/displaymenu.c index eeecd522..04310969 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -1651,8 +1651,8 @@ bool cFlatDisplayMenu::SetItemRecording(const cRecording *Recording, int Index, Left += img->Width() + marginItem; } - buffer = cString::sprintf(" %d", Total); - menuPixmap->DrawText(cPoint(Left, Top), buffer, ColorFg, ColorBg, font, font->Width(" 999"), fontHeight, taRight); + buffer = cString::sprintf("%d ", Total); + menuPixmap->DrawText(cPoint(Left, Top), buffer, ColorFg, ColorBg, font, font->Width(" 999"), fontHeight, taLeft); Left += font->Width(" 999 "); if( imgRecNew ) -- cgit v1.2.3