From 7df86c159a1c069cd1ffb59f8ec3f4273b84c42a Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Thu, 29 Aug 2024 10:55:38 +0200 Subject: 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. --- src/gui/chatwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/chatwindow.cpp') 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); -- cgit v1.2.3-70-g09d2