From e98cad99047d7694f45b6ee0b85bf672e2409f26 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 ------------------ Branch: ni/coolstream 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 ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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;