infoviewer: fix width of small rec/ts icon box

Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-01-11 15:49:26 +01:00
parent ad8bfb6628
commit 243167a925

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