Now About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk')
-rw-r--r--src/gtk/chat.ui20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/gtk/chat.ui b/src/gtk/chat.ui
index 05d23f2..33cb41f 100644
--- a/src/gtk/chat.ui
+++ b/src/gtk/chat.ui
@@ -90,26 +90,36 @@
<object class="GtkButton">
<property name="icon-name">mail-attachment</property>
<style>
+ <class name="raised"/>
<class name="image-button"/>
</style>
<signal name="clicked" handler="attach_file"/>
</object>
</child>
<child>
- <object class="GtkEntry" id="text_entry">
+ <object class="GtkScrolledWindow">
+ <property name="max-content-height">10</property>
+ <property name="margin-start">5</property>
+ <property name="margin-end">5</property>
<property name="halign">fill</property>
<property name="hexpand">True</property>
<property name="hexpand-set">True</property>
- <property name="width-request">50</property>
- <property name="margin-start">5</property>
- <property name="margin-end">5</property>
- <signal name="activate" handler="entry_activate"/>
+ <property name="vscrollbar-policy">GTK_POLICY_EXTERNAL</property>
+ <style>
+ <class name="entry-frame"/>
+ </style>
+ <property name="child">
+ <object class="GtkSourceView" id="text_entry">
+ <property name="valign">center</property>
+ </object>
+ </property>
</object>
</child>
<child>
<object class="GtkButton">
<property name="icon-name">mail-forward</property>
<style>
+ <class name="raised"/>
<class name="image-button"/>
</style>
<signal name="clicked" handler="entry_activate"/>