From 4b55d2597fd1beed0402a8a1ec2309c4dc22ce22 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Thu, 9 Feb 2017 08:24:20 +0100 Subject: [PATCH] - helpbox: fix display of text after scroll; thx to DboxOldie --- src/gui/widget/helpbox.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/widget/helpbox.cpp b/src/gui/widget/helpbox.cpp index bb5c04829..bc84a2ee2 100644 --- a/src/gui/widget/helpbox.cpp +++ b/src/gui/widget/helpbox.cpp @@ -99,6 +99,7 @@ void Helpbox::addLine(const std::string& icon, const std::string& text, const in int x_text = w_picon + (picon ? OFFSET_INNER_MID : 0); CComponentsText * txt = new CComponentsText(x_text, 0, line->getWidth()-x_text, 0, text, text_mode, font); txt->doPaintBg(false); + txt->forceTextPaint(); #if 0 //"contrast agent", if you want to see where the text items are drawn. txt->setColorBody(COL_RED); #endif