From 98bed6910a33bc3b1bcf9b97b264503a3ebf3cce Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 16 Jun 2017 11:10:31 +0200 Subject: [PATCH] epgview: align with and height of progressbar Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/aec47e2ec997502e7ae28f2ff78b281a9d289f98 Author: vanhofen Date: 2017-06-16 (Fri, 16 Jun 2017) Origin message was: ------------------ - epgview: align with and height of progressbar ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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 4d5b0bd8f..7fd2883de 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -1534,9 +1534,9 @@ int CEpgData::FollowScreenings (const t_channel_id /*channel_id*/, const std::st void CEpgData::showProgressBar() { - int w = 104; + int w = ox/10; int x = sx + (ox - w)/2; - int h = botboxheight - 12; + int h = botboxheight - 2*OFFSET_INNER_SMALL; int y = sy + oy - botboxheight + (botboxheight - h)/2; if (!pb){ pb = new CProgressBar(x, y, w, h);