diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index cdcf3a356..ec8573445 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -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);