make formspec textarea wordwrap
authorRealBadAngel <mk@realbadangel.pl>
Tue, 22 Apr 2014 11:25:02 +0000 (13:25 +0200)
committerRealBadAngel <maciej.kasatkin@yahoo.com>
Tue, 22 Apr 2014 17:57:32 +0000 (19:57 +0200)
Thats updated #795

src/guiFormSpecMenu.cpp

index 3f9d7f78c4b2abaf5a4f0202967795cfa128bab9..881b4c5fc01482ccb501ee50fb5ca694de8c63c8 100644 (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;