mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
channellist: use "classic" width if minitv is unused
This commit is contained in:
@@ -486,9 +486,13 @@ void CChannelList::calcSize()
|
|||||||
if (g_settings.channellist_additional)
|
if (g_settings.channellist_additional)
|
||||||
width = full_width / 3 * 2;
|
width = full_width / 3 * 2;
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
/* don't use 100% of screen if additional info / minitv is not used */
|
||||||
|
full_width = full_width * 76 / 99; /* same width as the old code with my settings :-) */
|
||||||
width = full_width;
|
width = full_width;
|
||||||
|
}
|
||||||
|
|
||||||
height = h_max ((frameBuffer->getScreenHeight() / 20 * 17), 0);
|
height = h_max ((frameBuffer->getScreenHeight() / 20 * 16), 0);
|
||||||
|
|
||||||
x = frameBuffer->getScreenX() + (frameBuffer->getScreenWidth() - full_width) / 2;
|
x = frameBuffer->getScreenX() + (frameBuffer->getScreenWidth() - full_width) / 2;
|
||||||
if (x < ConnectLineBox_Width)
|
if (x < ConnectLineBox_Width)
|
||||||
|
Reference in New Issue
Block a user