From 6b5a84b950345e65b1ca64fcb4f42974c0a4cb19 Mon Sep 17 00:00:00 2001 From: striper Date: Fri, 12 Feb 2010 09:31:05 +0000 Subject: [PATCH] - channellist now uses 75% of ScreenWidth as width and 80% of ScreenHeight as height git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@321 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/channellist.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 30eb0f554..8cb624e09 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -442,8 +442,10 @@ int CChannelList::show() //width = w_max (560, 0); //height = h_max (420 + (1+3+16+3), 60); - width = w_max (((g_settings.channellist_extended)?720:660), 0); - height = h_max (450, 60); + //width = w_max (((g_settings.channellist_extended)?720:660), 0); + //height = h_max (450, 60); + width = w_max (((g_settings.channellist_extended)?(frameBuffer->getScreenWidth() / 20 * 15):(frameBuffer->getScreenWidth() / 20 * 14)), 0); + height = h_max ((frameBuffer->getScreenHeight() / 20 * 16), (frameBuffer->getScreenHeight() / 20 * 2)); if (chanlist.empty()) { return res;