summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-27 18:03:16 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-27 18:04:10 -0600
commit38f30a158a73bf2e6481d32e90a85684e4542fdf (patch)
tree814ad93113c14a979359050990db4a9dd8ff1833 /src/gui/widgets/chattab.cpp
parentb2df8047e6c2d1215ef7debf1a42e02188725471 (diff)
downloadmana-38f30a158a73bf2e6481d32e90a85684e4542fdf.tar.gz
mana-38f30a158a73bf2e6481d32e90a85684e4542fdf.tar.bz2
mana-38f30a158a73bf2e6481d32e90a85684e4542fdf.tar.xz
mana-38f30a158a73bf2e6481d32e90a85684e4542fdf.zip
Make chat wrap
Diffstat (limited to 'src/gui/widgets/chattab.cpp')
-rw-r--r--src/gui/widgets/chattab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index c4b2196b..95606281 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -49,7 +49,7 @@ ChatTab::ChatTab(const std::string &name) : Tab()
{
setCaption(name);
- mTextOutput = new BrowserBox;
+ mTextOutput = new BrowserBox(BrowserBox::AUTO_WRAP);
mTextOutput->setOpaque(false);
mTextOutput->setMaxRow((int) config.getValue("ChatLogLength", 0));
mTextOutput->setLinkHandler(chatWindow->mItemLinkHandler);