aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2014-04-22 13:25:02 +0200
committerRealBadAngel <maciej.kasatkin@yahoo.com>2014-04-22 19:57:32 +0200
commite7ef4f07cb19aeed768c9010ac49cf5801541ded (patch)
tree6737e27448a4d9477e0fea8c1853d178bdab8078
parent555dc863433312f353b6639942a6ec0148923c3f (diff)
downloadminetest-e7ef4f07cb19aeed768c9010ac49cf5801541ded.tar.gz
minetest-e7ef4f07cb19aeed768c9010ac49cf5801541ded.tar.bz2
minetest-e7ef4f07cb19aeed768c9010ac49cf5801541ded.zip
make formspec textarea wordwrap
Thats updated #795
-rw-r--r--src/guiFormSpecMenu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/guiFormSpecMenu.cpp b/src/guiFormSpecMenu.cpp
index 3f9d7f78c..881b4c5fc 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;