diff options
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | displaymenu.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ VDR Plugin 'skinflatplus' Revision History --------------------------------------- 201X-XX-XX: Version XXX +- [fix] '%' sign not shown in menĂ¼ weather widget at certian font - [add] support for change color key mapping - [add] displaychannel show event start time on the left before event title diff --git a/displaymenu.c b/displaymenu.c index 577e64bd..56db135c 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -5305,7 +5305,7 @@ int cFlatDisplayMenu::DrawMainMenuWidgetWeather(int wLeft, int wWidth, int Conte contentWidget.AddImage(img, cRect(left, ContentTop + marginItem, fontHeight, fontHeight)); left += fontHeight - marginItem; } - contentWidget.AddText(*precString, false, cRect(left, ContentTop + (fontHeight/2 - fontTempSml->Height()/2), 0, 0), Theme.Color(clrMenuEventFontInfo), Theme.Color(clrMenuEventBg), fontTempSml, fontTempSml->Width("XXX%"), fontTempSml->Height(), taRight); + contentWidget.AddText(*precString, false, cRect(left, ContentTop + (fontHeight/2 - fontTempSml->Height()/2), 0, 0), Theme.Color(clrMenuEventFontInfo), Theme.Color(clrMenuEventBg), fontTempSml, fontTempSml->Width("XXX% "), fontTempSml->Height(), taRight); left += fontTempSml->Width("XXXX%") + marginItem; contentWidget.AddText(summary.c_str(), false, cRect(left, ContentTop + (fontHeight/2 - fontTempSml->Height()/2), wWidth - left, fontHeight), Theme.Color(clrMenuEventFontInfo), Theme.Color(clrMenuEventBg), fontTempSml, wWidth - left); |