From df3d5567a1deb50cf1f561220eb231331f754be0 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 10 May 2013 10:33:23 +0200 Subject: [PATCH] - 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;