diff --git a/gui/ChatPane.qml b/gui/ChatPane.qml index 2795f7c..d154329 100644 --- a/gui/ChatPane.qml +++ b/gui/ChatPane.qml @@ -130,6 +130,18 @@ Item { width: chatView.width - 8 } } + + Button { + anchors.right: parent.right + anchors.bottom: parent.bottom + anchors.margins: 12 + text: "↓" + visible: chatView.visible && !chatView.atYEnd + onClicked: chatPane.scrollToBottom() + ToolTip.text: "Scroll to bottom" + ToolTip.visible: hovered + } + } Rectangle { Layout.fillWidth: true; height: 1; color: theme.midColor }