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:
parent
0003fc8215
commit
42a991758e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user