fix(notifs): fix notification expand animation
This commit is contained in:
parent
a9dab6189d
commit
a7023aaf45
1 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue