From 34118aaacae54f569cb10914c49464da5a576686 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 29 Mar 2019 03:06:07 +0100 Subject: [PATCH] IRCClient: Tweak size of window input boxes. Now that GTextEditor is a GFrame, we need to make some room here for the frame around the editor. :^) --- Applications/IRCClient/IRCWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/IRCClient/IRCWindow.cpp b/Applications/IRCClient/IRCWindow.cpp index 3413b0d51b..2c7d6cb5d1 100644 --- a/Applications/IRCClient/IRCWindow.cpp +++ b/Applications/IRCClient/IRCWindow.cpp @@ -41,7 +41,7 @@ IRCWindow::IRCWindow(IRCClient& client, void* owner, Type type, const String& na m_text_editor = new GTextEditor(GTextEditor::SingleLine, this); m_text_editor->set_size_policy(SizePolicy::Fill, SizePolicy::Fixed); - m_text_editor->set_preferred_size({ 0, 15 }); + m_text_editor->set_preferred_size({ 0, 19 }); m_text_editor->on_return_pressed = [this] (GTextEditor& editor) { if (m_type == Channel) m_client.handle_user_input_in_channel(m_name, editor.text());