summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-08-29 10:55:38 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-08-31 11:30:20 +0200
commit7df86c159a1c069cd1ffb59f8ec3f4273b84c42a (patch)
treea92fbd123e94d4d97584344eb598661b7302305f /src/gui/chatwindow.cpp
parente2fb719501c41356f632e6f8838c91d888239037 (diff)
downloadmana-7df86c159a1c069cd1ffb59f8ec3f4273b84c42a.tar.gz
mana-7df86c159a1c069cd1ffb59f8ec3f4273b84c42a.tar.bz2
mana-7df86c159a1c069cd1ffb59f8ec3f4273b84c42a.tar.xz
mana-7df86c159a1c069cd1ffb59f8ec3f4273b84c42a.zip
Some margin and indentation tweaks in news and NPC dialogs
* Apply indentation after wrapping only in NPC dialogs and chat window, since we don't want this in the updater window / news. * Added some margin around the text in the updater window and NPC dialogs, using gcn::Widget::setFrameSize. * Cosmetic changes to BrowserBox implementation.
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r--src/gui/chatwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index 0229bf76..29bf9c1b 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -56,7 +56,7 @@ class ChatInput : public TextField, public gcn::FocusListener
{
public:
ChatInput():
- TextField("", false)
+ TextField(std::string(), false)
{
setVisible(false);
addFocusListener(this);