aboutsummaryrefslogtreecommitdiff
path: root/main/data/chat_input.ui
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-03-15 22:01:32 +0100
committerfiaxh <git@mx.ax.lt>2017-03-16 17:56:38 +0100
commitaf49a47cf6c5933a9bcc21f2b7bb20d85be37483 (patch)
tree6f1c993fea5f238a1131d23586d9b8095553dc5b /main/data/chat_input.ui
parentf277db6cb459c6e7456fb75722b9d57f734c4db6 (diff)
downloaddino-af49a47cf6c5933a9bcc21f2b7bb20d85be37483.tar.gz
dino-af49a47cf6c5933a9bcc21f2b7bb20d85be37483.zip
Fix ChatInput for many lines + small UI changes
Diffstat (limited to 'main/data/chat_input.ui')
-rw-r--r--main/data/chat_input.ui12
1 files changed, 7 insertions, 5 deletions
diff --git a/main/data/chat_input.ui b/main/data/chat_input.ui
index dac75feb..18583d07 100644
--- a/main/data/chat_input.ui
+++ b/main/data/chat_input.ui
@@ -1,17 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <template class="DinoUiChatInput" parent="GtkGrid"> <!-- TODO -->
+ <requires lib="gtk+" version="3.22"/>
+ <template class="DinoUiChatInput">
<property name="hexpand">True</property>
<property name="orientation">horizontal</property>
- <property name="visible">True</property>
<property name="margin">5</property>
- <property name="column-spacing">5</property>
+ <property name="visible">True</property>
<child>
- <object class="GtkFrame">
+ <object class="GtkScrolledWindow" id="scrolled">
+ <property name="max_content_height">300</property>
+ <property name="propagate_natural_height">True</property>
<child>
<object class="GtkTextView" id="text_input">
- <property name="border-width">5</property>
<property name="wrap-mode">GTK_WRAP_WORD_CHAR</property>
+ <property name="border-width">5</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="visible">True</property>