diff options
author | Maniac <maniac> | 2011-05-23 22:43:09 +0200 |
---|---|---|
committer | Maniac <maniac> | 2011-05-23 22:43:09 +0200 |
commit | 571747125e2e66f9472f02c3574594c874dd0245 (patch) | |
tree | bffcf6060808cecebbbbce0a2f063357927feb5a | |
parent | cfb41df43e50ccf686dab645e79aef1b775d4b3f (diff) | |
download | vdr-plugin-skinpearlhd-571747125e2e66f9472f02c3574594c874dd0245.tar.gz vdr-plugin-skinpearlhd-571747125e2e66f9472f02c3574594c874dd0245.tar.bz2 |
Menu: fix tab width (again)
-rw-r--r-- | pearlhd.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -959,11 +959,8 @@ void cSkinPearlHDDisplayMenu::SetItem(const char *Text, int Index, bool Current, if (s) { int xt = x1Item+75 + Tab(i); - int xt_end = Tab(i+1); - if (!Tab(i+1)) - xt_end = x2Item-xt; if (!IsTextProgressbar(s)) - osd->DrawText(xt, y1Item+4, s, Current ? Theme.Color(clrFontColor) : Theme.Color(clrFontColorInactive), clrTransparent, fontSansBook27, xt_end); + osd->DrawText(xt, y1Item+4, s, Theme.Color(Current ? clrFontColor : clrFontColorInactive), Theme.Color(Current ? clrMainSolid : clrLoLight), fontSansBook27, x2Item-xt)); else { std::string text = s; |