From c5bee475cf547c33982acd44253b1b8e904ee93e Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 9 Jan 2018 11:40:46 +0100 Subject: [PATCH] infoviewer: remove fixed values from showInfoFile() function Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/8cd4654468b68bf66dd0626ae7ccbafa2be1d7be Author: vanhofen Date: 2018-01-09 (Tue, 09 Jan 2018) Origin message was: ------------------ - infoviewer: remove fixed values from showInfoFile() function ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/infoviewer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index 88ab70713..2248fb646 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -2069,11 +2069,11 @@ void CInfoViewer::showInfoFile() } //set position of info area - const int oOffset = 140; // outer left/right offset + const int oOffset = frameBuffer->scale2Res(140); // outer left/right offset; space for rec-Icon box const int xStart = BoxStartX + ChanWidth + oOffset; const int yStart = BoxStartY; const int width = BoxEndX - xStart - oOffset - pb_w; - const int height = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO]->getHeight() + 2; + const int height = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO]->getHeight() + OFFSET_INNER_MIN; //create info object if (infobar_txt == NULL){