mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user