diff options
Diffstat (limited to 'src/gtk/chat.ui')
-rw-r--r-- | src/gtk/chat.ui | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/src/gtk/chat.ui b/src/gtk/chat.ui index fa4d77d..33cb41f 100644 --- a/src/gtk/chat.ui +++ b/src/gtk/chat.ui @@ -34,6 +34,7 @@ <property name="orientation">1</property> <style> <class name="navigation-sidebar"/> + <class name="messages"/> </style> <property name="tab-behavior">item</property> <property name="accessible-role">log</property> @@ -89,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"/> |