scale width with font size

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@669 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 729330bda2
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-07-15 (Thu, 15 Jul 2010)



------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2010-07-15 12:52:40 +00:00
parent a6dec4625e
commit c4b18eeced

View File

@@ -403,8 +403,7 @@ void CTimerList::updateEvents(void)
} }
} }
sort(timerlist.begin(), timerlist.end()); sort(timerlist.begin(), timerlist.end());
width = w_max(g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getWidth()*56, 20);
width = w_max(720, 0);
theight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight(); theight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();
int icol_w, icol_h; int icol_w, icol_h;