scale fixes

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@674 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2010-07-16 09:42:48 +00:00
parent 60583c0728
commit 8c8c45e06a
5 changed files with 21 additions and 17 deletions

View File

@@ -181,8 +181,8 @@ int CBEChannelWidget::exec(CMenuTarget* parent, const std::string & /*actionKey*
if (parent)
parent->hide();
width = w_max (500, 0);
int fw = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getWidth();
width = w_max (52 * fw, 20);
height = h_max (440, 50);
listmaxshow = (height-theight-0)/iheight;
height = theight+0+listmaxshow*iheight; // recalc height