From 243167a925a1830f32c72ed6715d69dcff82e38e Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 11 Jan 2016 15:49:26 +0100 Subject: [PATCH] infoviewer: fix width of small rec/ts icon box Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/da83468bfbd83a9a8326352e4886ec09a2887e8c Author: vanhofen Date: 2016-01-11 (Mon, 11 Jan 2016) Origin message was: ------------------ - infoviewer: fix width of small rec/ts icon box ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/infoviewer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index f36716dff..f28909a5f 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -332,6 +332,9 @@ void CInfoViewer::showRecordIcon (const bool show) rec->setShadowWidth(SHADOW_OFFSET/2); rec->setCorner(RADIUS_MIN, CORNER_ALL); } + if (rec->getWidth() != box_len) + rec->setWidth(box_len); + if (!rec->isPainted()) rec->paint(CC_SAVE_SCREEN_NO);