From 09c0ef5602525f18c08a83fa577e802ec62bf43c Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 10 May 2013 10:33:23 +0200 Subject: [PATCH] epgview: depend window size on font size Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/df3d5567a1deb50cf1f561220eb231331f754be0 Author: vanhofen Date: 2013-05-10 (Fri, 10 May 2013) Origin message was: ------------------ - epgview: depend window size on font size --- src/gui/epgview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 1d3412b12..dbe65abf1 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -117,8 +117,8 @@ CEpgData::CEpgData() void CEpgData::start() { - ox = frameBuffer->getScreenWidthRel(); - oy = frameBuffer->getScreenHeightRel(); + ox = frameBuffer->getScreenWidthRel(bigFonts ? false /* big */ : true /* small */); + oy = frameBuffer->getScreenHeightRel(bigFonts ? false /* big */ : true /* small */); topheight = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE]->getHeight(); topboxheight = topheight + 6;