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

Origin commit data
------------------
Commit: 5d6e33ac9d
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-30 (Wed, 30 Dec 2015)
This commit is contained in:
2015-12-30 01:57:34 +01:00
parent 1d61ab6fad
commit 018fb72949

View File

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