Now About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/gtk
diff options
context:
space:
mode:
authorLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-10-05 20:41:39 +0100
committerLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-10-05 20:41:39 +0100
commit589ec018c7880b741777032a3c3da555114ef12b (patch)
treea84a09796d0ae5a699d5d23b05d2d37a4f37295e /src/gtk
parentbe71bf80d290c98c0f6a66d3dcab28515b4ea371 (diff)
chat: Get auto-scroll working, and fix ssh conn
Diffstat (limited to 'src/gtk')
-rw-r--r--src/gtk/chat.ui13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/gtk/chat.ui b/src/gtk/chat.ui
index 23477ad..1b7c52a 100644
--- a/src/gtk/chat.ui
+++ b/src/gtk/chat.ui
@@ -19,21 +19,28 @@
<child>
<object class="GtkScrolledWindow" id="window">
<property name="vexpand">True</property>
- <property name="hscrollbar_policy">3</property>
- <child>
+ <property name="hscrollbar_policy">never</property>
+ <style>
+ <class name="undershoot-bottom"/>
+ </style>
+ <property name="child">
<object class="AdwClampScrollable">
<property name="maximum-size">750</property>
<property name="tightening-threshold">550</property>
+ <property name="vexpand">True</property>
+ <property name="hexpand">True</property>
<property name="child">
<object class="GtkListView" id="messages">
<property name="orientation">1</property>
<style>
<class name="navigation-sidebar"/>
</style>
+ <property name="tab-behavior">item</property>
+ <property name="accessible-role">log</property>
</object>
</property>
</object>
- </child>
+ </property>
</object>
</child>
<child>