fix(notifs): fix notification expand animation

This commit is contained in:
Kiana Sheibani 2025-10-08 13:08:45 -04:00
parent a9dab6189d
commit a7023aaf45
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -228,7 +228,7 @@ CustomRect {
anchors.top: parent.top
anchors.left: image.right
anchors.leftMargin: 10
anchors.topMargin: 2
anchors.topMargin: root.expanded ? 5 : 2
animate: true
text: summaryPreviewMetrics.elidedText
@ -277,7 +277,7 @@ CustomRect {
anchors.left: image.right
anchors.right: parent.right
anchors.leftMargin: 10
anchors.topMargin: 5
anchors.topMargin: root.expanded ? 5 : 2
anchors.rightMargin: 10
animate: true
@ -370,6 +370,7 @@ CustomRect {
font.pointSize: Config.font.size.small
opacity: root.expanded ? 1 : 0
visible: opacity > 0
Behavior on opacity {
Anim {}
@ -467,8 +468,8 @@ CustomRect {
anchors.left: summary.left
anchors.right: parent.right
anchors.top: summary.bottom
anchors.rightMargin: 7
anchors.topMargin: 3
anchors.rightMargin: 7
animate: true
textFormat: Text.MarkdownText