aboutsummaryrefslogtreecommitdiff
path: root/main/data
diff options
context:
space:
mode:
authorbobufa <bobufa@users.noreply.github.com>2018-08-07 16:03:00 +0200
committerbobufa <bobufa@users.noreply.github.com>2018-08-13 22:39:18 +0200
commitdfc7d2a890d755bcaf526e586e14046b581ed094 (patch)
tree1dda124153814a60c565d7e0176567d80f5dabed /main/data
parentb35abad05455970da36aafafd4afc9148aa43ced (diff)
downloaddino-dfc7d2a890d755bcaf526e586e14046b581ed094.tar.gz
dino-dfc7d2a890d755bcaf526e586e14046b581ed094.zip
add button that scrolls to the bottom of the conversation
Diffstat (limited to 'main/data')
-rw-r--r--main/data/unified_main_content.ui49
1 files changed, 41 insertions, 8 deletions
diff --git a/main/data/unified_main_content.ui b/main/data/unified_main_content.ui
index 61781ac4..d5897b1a 100644
--- a/main/data/unified_main_content.ui
+++ b/main/data/unified_main_content.ui
@@ -17,20 +17,53 @@
<object class="GtkOverlay">
<property name="visible">True</property>
<child>
- <object class="GtkBox">
- <property name="orientation">vertical</property>
+ <object class="GtkOverlay">
<property name="visible">True</property>
- <style>
- <class name="dino-conversation"/>
- </style>
<child>
- <object class="DinoUiConversationSummaryConversationView" id="conversation_frame">
+ <object class="GtkBox">
+ <property name="orientation">vertical</property>
<property name="visible">True</property>
+ <style>
+ <class name="dino-conversation"/>
+ </style>
+ <child>
+ <object class="DinoUiConversationSummaryConversationView" id="conversation_frame">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="DinoUiChatInputView" id="chat_input">
+ <property name="visible">True</property>
+ </object>
+ </child>
</object>
</child>
- <child>
- <object class="DinoUiChatInputView" id="chat_input">
+ <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>
+ <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="margin-end">70</property>
+ <property name="margin-bottom">100</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>