diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml index 47516e2..537391a 100644 --- a/modules/notifications/Notification.qml +++ b/modules/notifications/Notification.qml @@ -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