helpbox: fix display of text after scroll; thx to DboxOldie

Origin commit data
------------------
Commit: 4b55d2597f
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-09 (Thu, 09 Feb 2017)

Origin message was:
------------------
- helpbox: fix display of text after scroll; thx to DboxOldie
This commit is contained in:
vanhofen
2017-02-09 08:24:20 +01:00
parent 21345ecf59
commit 8f0d3e0a5f

View File

@@ -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