From: RealBadAngel Date: Tue, 22 Apr 2014 11:25:02 +0000 (+0200) Subject: make formspec textarea wordwrap X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=e7ef4f07cb19aeed768c9010ac49cf5801541ded;p=zefram%2Fminetest%2Fminetest_engine.git make formspec textarea wordwrap Thats updated #795 --- diff --git a/src/guiFormSpecMenu.cpp b/src/guiFormSpecMenu.cpp index 3f9d7f78..881b4c5f 100644 --- a/src/guiFormSpecMenu.cpp +++ b/src/guiFormSpecMenu.cpp @@ -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;