From e0531a260734e5d1bf328c0c28a9e468869bd55c Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 9 Feb 2017 08:24:20 +0100 Subject: [PATCH] helpbox: fix display of text after scroll; thx to DboxOldie Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/4b55d2597fd1beed0402a8a1ec2309c4dc22ce22 Author: vanhofen Date: 2017-02-09 (Thu, 09 Feb 2017) Origin message was: ------------------ - helpbox: fix display of text after scroll; thx to DboxOldie ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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