1
0
mirror of https://github.com/minetest/minetest.git synced 2024-09-27 15:00:30 +02:00

make formspec textarea wordwrap

This commit is contained in:
Brandon 2013-06-28 23:33:54 -05:00
parent 0003fc8215
commit 42a991758e

View File

@ -415,6 +415,7 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize)
if (type == "textarea")
{
e->setMultiLine(true);
e->setWordWrap(true);
e->setTextAlignment(gui::EGUIA_UPPERLEFT, gui::EGUIA_UPPERLEFT);
} else {
irr::SEvent evt;