aboutsummaryrefslogtreecommitdiff
path: root/src/ChatMessage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChatMessage.cpp')
-rw-r--r--src/ChatMessage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ChatMessage.cpp b/src/ChatMessage.cpp
index 6dbd671..048bfca 100644
--- a/src/ChatMessage.cpp
+++ b/src/ChatMessage.cpp
@@ -12,6 +12,7 @@ namespace dchat
text.set_selectable(true);
text.set_alignment(Gtk::ALIGN_START, Gtk::ALIGN_START);
+ text.set_line_wrap(true);
text.set_line_wrap_mode(Pango::WRAP_WORD_CHAR);
text.get_style_context()->add_class("chat-message-text");