Changed: Use multiline text for http errors

--HG--
branch : develop
This commit is contained in:
Nimetu 2016-03-01 22:30:05 +02:00
parent 81408bbc5a
commit a50689a885

View file

@ -3550,6 +3550,7 @@ namespace NLGUI
CViewText *viewText = new CViewText ("", (string("Error : ")+msg).c_str()); CViewText *viewText = new CViewText ("", (string("Error : ")+msg).c_str());
viewText->setColor (ErrorColor); viewText->setColor (ErrorColor);
viewText->setModulateGlobalColor(ErrorColorGlobalColor); viewText->setModulateGlobalColor(ErrorColorGlobalColor);
viewText->setMultiLine (true);
getParagraph()->addChild (viewText); getParagraph()->addChild (viewText);
if(!_TitlePrefix.empty()) if(!_TitlePrefix.empty())
setTitle (_TitlePrefix); setTitle (_TitlePrefix);