diff options
author | David Athay <ko2fan@gmail.com> | 2008-11-12 17:21:08 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-11-12 17:21:08 +0000 |
commit | 218ab7cb408cee2148e87a15f8177b0a0a82c66a (patch) | |
tree | e78a774737f1f023947e36aeb857dbb28551caa8 /src/gui/npcpostdialog.cpp | |
parent | 87607bbc8bf97d8204be4b3eae6eeb5a51bb0ea4 (diff) | |
download | mana-218ab7cb408cee2148e87a15f8177b0a0a82c66a.tar.gz mana-218ab7cb408cee2148e87a15f8177b0a0a82c66a.tar.bz2 mana-218ab7cb408cee2148e87a15f8177b0a0a82c66a.tar.xz mana-218ab7cb408cee2148e87a15f8177b0a0a82c66a.zip |
Fixed multiline editing for letters
Diffstat (limited to 'src/gui/npcpostdialog.cpp')
-rw-r--r-- | src/gui/npcpostdialog.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/npcpostdialog.cpp b/src/gui/npcpostdialog.cpp index b50154a8..2d3fce64 100644 --- a/src/gui/npcpostdialog.cpp +++ b/src/gui/npcpostdialog.cpp @@ -22,6 +22,7 @@ */ #include "npcpostdialog.h" +#include "textbox.h" #include "textfield.h" #include "button.h" #include "scrollarea.h" @@ -53,8 +54,9 @@ NpcPostDialog::NpcPostDialog(): sendButton->getY()); // create textfield for letter - mText = new TextField(); + mText = new TextBox(); mText->setHeight(400 - (mSender->getHeight() + sendButton->getHeight())); + mText->setEditable(true); // create scroll box for letter text ScrollArea *scrollArea = new ScrollArea(mText); |