make formspec textarea wordwrap

Thats updated #795
This commit is contained in:
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") if (type == "textarea")
{ {
e->setMultiLine(true); e->setMultiLine(true);
e->setWordWrap(true);
e->setTextAlignment(gui::EGUIA_UPPERLEFT, gui::EGUIA_UPPERLEFT); e->setTextAlignment(gui::EGUIA_UPPERLEFT, gui::EGUIA_UPPERLEFT);
} else { } else {
irr::SEvent evt; irr::SEvent evt;