sidebar: add scroll to bottom button

This commit is contained in:
end-4
2025-10-17 18:00:11 +02:00
parent 7612a3f742
commit f93d629acb
6 changed files with 76 additions and 2 deletions
@@ -152,12 +152,14 @@ Item {
}
ScrollEdgeFade {
z: 1
target: booruResponseListView
vertical: true
}
StyledListView { // Booru responses
id: booruResponseListView
z: 0
anchors.fill: parent
spacing: 10
@@ -187,13 +189,20 @@ Item {
PagePlaceholder {
id: placeholderItem
z: 2
shown: root.responses.length === 0
icon: "bookmark_heart"
title: Translation.tr("Anime boorus")
description: ""
}
ScrollToBottomButton {
z: 3
target: booruResponseListView
}
Item { // Queries awaiting response
z: 4
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom