infoviewer: fix width of small rec/ts icon box

Origin commit data
------------------
Commit: da83468bfb
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-11 (Mon, 11 Jan 2016)

Origin message was:
------------------
- infoviewer: fix width of small rec/ts icon box
This commit is contained in:
vanhofen
2016-01-11 15:49:26 +01:00
parent b429bdc415
commit f0d07001a0

View File

@@ -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);