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 }