mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:47:35 +00:00
IRCClient: Make the IRCWindow input box look symmetrical.
This commit is contained in:
parent
31bc42c530
commit
a0411f61f8
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,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, 18 });
|
||||
m_text_editor->set_preferred_size({ 0, 15 });
|
||||
m_text_editor->on_return_pressed = [this] (GTextEditor& editor) {
|
||||
if (m_type == Channel)
|
||||
m_client.handle_user_input_in_channel(m_name, editor.text());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue