projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
555dc86
)
make formspec textarea wordwrap
author
RealBadAngel
<mk@realbadangel.pl>
Tue, 22 Apr 2014 11:25:02 +0000
(13:25 +0200)
committer
RealBadAngel
<maciej.kasatkin@yahoo.com>
Tue, 22 Apr 2014 17:57:32 +0000
(19:57 +0200)
Thats updated #795
src/guiFormSpecMenu.cpp
patch
|
blob
|
history
diff --git
a/src/guiFormSpecMenu.cpp
b/src/guiFormSpecMenu.cpp
index 3f9d7f78c4b2abaf5a4f0202967795cfa128bab9..881b4c5fc01482ccb501ee50fb5ca694de8c63c8 100644
(file)
--- 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;