From a4c6802430e6fca86c52e6c01ea6a2f8dbfbdd88 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Fri, 7 Aug 2026 18:53:32 +0200 Subject: [PATCH] gui: add scroll-to-bottom button Shows when user has scrolled up (followTail=false). Clicking scrolls to bottom and re-enables follow mode. --- gui/main.qml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/gui/main.qml b/gui/main.qml index 31812f4..74b457a 100644 --- a/gui/main.qml +++ b/gui/main.qml @@ -900,7 +900,24 @@ ApplicationWindow { parentListView: chatView } } - + + // Scroll to bottom button + Button { + anchors.right: parent.right + anchors.bottom: parent.bottom + anchors.margins: 12 + text: "↓" + font.pixelSize: 16 + implicitWidth: 36 + implicitHeight: 36 + visible: chatView.visible && !chatView.followTail + onClicked: { + chatView.followTail = true + chatView.positionViewAtEnd() + } + ToolTip.text: "Scroll to bottom" + ToolTip.visible: hovered + } } Rectangle { Layout.fillWidth: true; height: 1; color: theme.midColor }