add listview add fade anim

This commit is contained in:
end-4
2025-05-06 10:43:23 +02:00
parent e5779ff05c
commit 24de218132
2 changed files with 22 additions and 2 deletions
@@ -125,6 +125,7 @@ Item {
ListView { // Message list
id: messageListView
anchors.fill: parent
spacing: 10
property int lastResponseLength: 0
@@ -147,7 +148,16 @@ Item {
}
}
spacing: 10
add: Transition {
NumberAnimation {
property: "opacity"
from: 0; to: 1
duration: Appearance.animation.elementMoveEnter.duration
easing.type: Appearance.animation.elementMoveEnter.type
easing.bezierCurve: Appearance.animation.elementMoveEnter.bezierCurve
}
}
model: ScriptModel {
values: root.messages
}