scale fixes

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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8c8c45e06a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-07-16 (Fri, 16 Jul 2010)



------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2010-07-16 09:42:48 +00:00
parent b259377146
commit d1237e6e19
5 changed files with 21 additions and 17 deletions

View File

@@ -215,13 +215,13 @@ int EventList::exec(const t_channel_id channel_id, const std::string& channelnam
neutrino_msg_t msg;
neutrino_msg_data_t data;
bool in_search = 0;
width = w_max (680, 20);
height = h_max (560, 20);
int fw = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getWidth();
int fh = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight();
width = w_max (75 * fw, 20);
height = h_max (25 * fh, 20);
iheight = 30; // info bar height (see below, hard coded at this time)
int fh = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight();
if(iheight < fh)
iheight = fh;