make formspec textarea wordwrap

Thats updated #795
master
RealBadAngel 2014-04-22 13:25:02 +02:00 committed by RealBadAngel
parent 555dc86343
commit e7ef4f07cb
1 changed files with 1 additions and 0 deletions

View File

@ -1025,6 +1025,7 @@ void GUIFormSpecMenu::parseTextArea(parserData* data,
if (type == "textarea")
{
e->setMultiLine(true);
e->setWordWrap(true);
e->setTextAlignment(gui::EGUIA_UPPERLEFT, gui::EGUIA_UPPERLEFT);
} else {
irr::SEvent evt;