CInfoViewer: try to fix paint info text box after delayed painting of timescale

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5d6e33ac9d
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-30 (Wed, 30 Dec 2015)


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

------------------
This commit was generated by Migit
This commit is contained in:
2015-12-30 01:57:34 +01:00
parent 868abf2963
commit 9d751d4090

View File

@@ -1932,6 +1932,10 @@ void CInfoViewer::showInfoFile()
return; return;
} }
//check dimension, if changed then kill to force reinit
if (infobar_txt->getWidth() != width)
infobar_txt->kill();
//set some properties for info object //set some properties for info object
infobar_txt->setDimensionsAll(xStart, yStart, width, height); infobar_txt->setDimensionsAll(xStart, yStart, width, height);
infobar_txt->setCorner(RADIUS_SMALL); infobar_txt->setCorner(RADIUS_SMALL);