From da83468bfbd83a9a8326352e4886ec09a2887e8c Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Mon, 11 Jan 2016 15:49:26 +0100 Subject: [PATCH] - infoviewer: fix width of small rec/ts icon box --- 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);