diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2017-08-27 14:40:23 +0200 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2017-08-27 14:40:23 +0200 |
commit | a2956312965579c875a0e8963a9039bcc47c5d33 (patch) | |
tree | 61322bd6aab6eb3f26f46449e62882ed071b7019 /displaymenu.c | |
parent | 48eee93b62d867b50de04e8a790b3c0d34e04bbd (diff) | |
download | skin-flatplus-a2956312965579c875a0e8963a9039bcc47c5d33.tar.gz skin-flatplus-a2956312965579c875a0e8963a9039bcc47c5d33.tar.bz2 |
percent sign not shown in menĂ¼ weather widget at certian font
Diffstat (limited to 'displaymenu.c')
-rw-r--r-- | displaymenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |