From 319f9c392c008b4474b88ba3757105892b0e3020 Mon Sep 17 00:00:00 2001 From: dragontamer8740 Date: Fri, 5 Aug 2022 00:22:59 -0400 Subject: fixed text input box to not resize when typing (#89) --- src/components/chatinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/chatinput.cpp b/src/components/chatinput.cpp index c3eca32..3e1db15 100644 --- a/src/components/chatinput.cpp +++ b/src/components/chatinput.cpp @@ -5,7 +5,7 @@ ChatInput::ChatInput() { set_propagate_natural_height(true); set_min_content_height(20); set_max_content_height(250); - set_policy(Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC); + set_policy(Gtk::POLICY_EXTERNAL, Gtk::POLICY_AUTOMATIC); // hack auto cb = [this](GdkEventKey *e) -> bool { -- cgit v1.2.3