diff options
| author | RealBadAngel <mk@realbadangel.pl> | 2014-04-22 13:25:02 +0200 |
|---|---|---|
| committer | RealBadAngel <maciej.kasatkin@yahoo.com> | 2014-04-22 19:57:32 +0200 |
| commit | e7ef4f07cb19aeed768c9010ac49cf5801541ded (patch) | |
| tree | 6737e27448a4d9477e0fea8c1853d178bdab8078 /src | |
| parent | 555dc863433312f353b6639942a6ec0148923c3f (diff) | |
| download | minetest-e7ef4f07cb19aeed768c9010ac49cf5801541ded.tar.xz | |
make formspec textarea wordwrap
Thats updated #795
Diffstat (limited to 'src')
| -rw-r--r-- | src/guiFormSpecMenu.cpp | 1 |
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; |
