aboutsummaryrefslogtreecommitdiff
path: root/main/data/conversation_view.ui
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-02-21 02:11:23 +0100
committerfiaxh <git@lightrise.org>2020-02-22 02:58:36 +0100
commit28c44380ba89e51c5aeac01ca9549633fbeb7e11 (patch)
tree8172f1d6c3bcd2450082fa8fa1fb76e9a214cfc5 /main/data/conversation_view.ui
parenta7e92960a3f4d31cfb2fbe2e3ba4941cf3b8faf2 (diff)
downloaddino-28c44380ba89e51c5aeac01ca9549633fbeb7e11.tar.gz
dino-28c44380ba89e51c5aeac01ca9549633fbeb7e11.zip
Move ConversationContentView+ChatInput into ConversationView, handle drag'n'drop on ConversationView level
Diffstat (limited to 'main/data/conversation_view.ui')
-rw-r--r--main/data/conversation_view.ui54
1 files changed, 54 insertions, 0 deletions
diff --git a/main/data/conversation_view.ui b/main/data/conversation_view.ui
new file mode 100644
index 00000000..df9df7e0
--- /dev/null
+++ b/main/data/conversation_view.ui
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <template class="DinoUiConversationView" parent="GtkBox">
+ <property name="orientation">vertical</property>
+ <property name="visible">True</property>
+ <style>
+ <class name="dino-conversation"/>
+ </style>
+ <child>
+ <object class="GtkOverlay">
+ <property name="visible">True</property>
+ <child>
+ <object class="DinoUiConversationSummaryConversationView" id="conversation_frame">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child type="overlay">
+ <object class="GtkRevealer" id="goto_end_revealer">
+ <property name="halign">end</property>
+ <property name="valign">end</property>
+ <property name="transition-type">crossfade</property>
+ <property name="visible">True</property>
+ <property name="margin-end">30</property>
+ <property name="margin-bottom">30</property>
+ <child>
+ <object class="GtkButton" id="goto_end_button">
+ <property name="vexpand">False</property>
+ <property name="halign">end</property>
+ <property name="valign">end</property>
+ <property name="visible">True</property>
+ <style>
+ <class name="circular"/>
+ </style>
+ <child>
+ <object class="GtkImage">
+ <property name="icon-name">go-down-symbolic</property>
+ <property name="icon-size">1</property>
+ <property name="visible">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="DinoUiChatInputView" id="chat_input">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ </template>
+</interface>