diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-12-10 19:14:48 +0100 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-12-10 19:14:48 +0100 |
commit | c6c99a81ec646bbc016564f57da1dbb20ff5643b (patch) | |
tree | 83f8cbfcb43c89af7a1877309575e44d6c667db3 | |
parent | 7f3be15fd4f9189bffeba6f7ce9b04b05e7369e8 (diff) | |
download | skin-flatplus-c6c99a81ec646bbc016564f57da1dbb20ff5643b.tar.gz skin-flatplus-c6c99a81ec646bbc016564f57da1dbb20ff5643b.tar.bz2 |
fix weather widget 100%
-rw-r--r-- | displaymenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/displaymenu.c b/displaymenu.c index 670e5617..902ed562 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -4887,8 +4887,8 @@ 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("XXXX"), fontTempSml->Height(), taRight); - left += fontTempSml->Width("XXXXX") + 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); + 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); |