summaryrefslogtreecommitdiff
path: root/modules/notifications/Content.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/notifications/Content.qml')
-rw-r--r--modules/notifications/Content.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/notifications/Content.qml b/modules/notifications/Content.qml
index c19a1c4..78fda6a 100644
--- a/modules/notifications/Content.qml
+++ b/modules/notifications/Content.qml
@@ -68,10 +68,11 @@ Item {
id: wrapper
required property Notifs.Notif modelData
+ required property int index
readonly property alias nonAnimHeight: notif.nonAnimHeight
implicitWidth: notif.implicitWidth
- implicitHeight: notif.implicitHeight + Appearance.spacing.smaller
+ implicitHeight: notif.implicitHeight + (index > 0 ? Appearance.spacing.smaller : 0)
ListView.onRemove: removeAnim.start()
@@ -114,6 +115,8 @@ Item {
ClippingRectangle {
anchors.top: parent.top
+ anchors.topMargin: wrapper.index > 0 ? Appearance.spacing.smaller : 0
+
color: "transparent"
radius: notif.radius
implicitWidth: notif.implicitWidth