make formspec textarea wordwrap

This commit is contained in:
Brandon 2013-06-28 23:33:54 -05:00
parent 0003fc8215
commit 42a991758e
1 changed files with 1 additions and 0 deletions

View File

@ -415,6 +415,7 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize)
if (type == "textarea")
{
e->setMultiLine(true);
e->setWordWrap(true);
e->setTextAlignment(gui::EGUIA_UPPERLEFT, gui::EGUIA_UPPERLEFT);
} else {
irr::SEvent evt;