From dd6a964fa5e785baf8f5f186e4507b9bfc36e2ee Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Wed, 13 Feb 2013 23:31:12 +0100 Subject: [PATCH] channellist.cpp: Show channel list vertically centered Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/91d76a94871c3c6fbdfb088e7e7f6e6287567f81 Author: Michael Liebmann Date: 2013-02-13 (Wed, 13 Feb 2013) Origin message was: ------------------ * channellist.cpp: Show channel list vertically centered --- src/gui/channellist.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 34a01ff60..1967f4cce 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -512,6 +512,7 @@ void CChannelList::calcSize() listmaxshow = (height - theight - footerHeight -0)/fheight; height = theight + footerHeight + listmaxshow * fheight; info_height = 2*fheight + g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR]->getHeight() + 10; + y += (frameBuffer->getScreenHeight() - height - info_height) / 2; infozone_width = full_width - width; pig_width = infozone_width;