Skip to content

Commit

Permalink
make formspec textarea wordwrap
Browse files Browse the repository at this point in the history
Thats updated #795
  • Loading branch information
RealBadAngel authored and RealBadAngel committed Apr 22, 2014
1 parent 555dc86 commit e7ef4f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/guiFormSpecMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e7ef4f0

Please sign in to comment.