summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authordragontamer8740 <dragontamer8740@gmail.com>2022-08-05 00:22:59 -0400
committerGitHub <noreply@github.com>2022-08-05 04:22:59 +0000
commit319f9c392c008b4474b88ba3757105892b0e3020 (patch)
tree5329bdb5e3d5a239de6d367a941ec23d8431cb97 /src/components
parenta61a630ee675e18f12e8725cca731cbe8aa429ce (diff)
downloadabaddon-portaudio-319f9c392c008b4474b88ba3757105892b0e3020.tar.gz
abaddon-portaudio-319f9c392c008b4474b88ba3757105892b0e3020.zip
fixed text input box to not resize when typing (#89)
Diffstat (limited to 'src/components')
-rw-r--r--src/components/chatinput.cpp2
1 files changed, 1 insertions, 1 deletions
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 {