Commit 63d548bf authored by Karel Slaný's avatar Karel Slaný

Using ScrollableListView in account list.

parent 4f786fb1
......@@ -141,7 +141,7 @@ Component {
}, StackView.Immediate)
}
}
ListView {
ScrollableListView {
id: accountList
anchors.top: datovkaHeader.bottom
anchors.bottom: parent.bottom
......@@ -241,6 +241,8 @@ Component {
Accessible.role: Accessible.Button
Accessible.name: !rTestAccount ? qsTr("Account '%1'.").arg(rAcntName) : qsTr("Testing account '%1'.").arg(rAcntName)
Accessible.onScrollDownAction: accountList.scrollDown()
Accessible.onScrollUpAction: accountList.scrollUp()
Accessible.onPressAction: {
handleClick()
}
......@@ -346,6 +348,8 @@ Component {
Accessible.role: Accessible.Button
Accessible.name: qsTr("Received messages of account '%1'. (Unread %2 of %3 received messages.)").arg(rAcntName).arg(rRcvdUnread).arg(rRcvdTotal)
Accessible.onScrollDownAction: accountList.scrollDown()
Accessible.onScrollUpAction: accountList.scrollUp()
Accessible.onPressAction: {
handleClick()
}
......@@ -425,6 +429,8 @@ Component {
Accessible.role: Accessible.Button
Accessible.name: qsTr("Sent messages of account '%1'. (Total of %2 sent messages.)").arg(rAcntName).arg(rSntTotal)
Accessible.onScrollDownAction: accountList.scrollDown()
Accessible.onScrollUpAction: accountList.scrollUp()
Accessible.onPressAction: {
handleClick()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment