From f5f78c1baab2cb1d6e273c6b33f741b5e702618c Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 23 Jun 2015 09:47:31 -0700 Subject: [PATCH] make the applet expand how much it wants --- applets/notifications/contents/ui/main.qml | 45 +++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/applets/notifications/contents/ui/main.qml b/applets/notifications/contents/ui/main.qml index bff76c00..a607ab64 100644 --- a/applets/notifications/contents/ui/main.qml +++ b/applets/notifications/contents/ui/main.qml @@ -28,7 +28,7 @@ Item { id: root property int notificationId: 0 - Layout.minimumHeight: notificationView.contentsHeight + Layout.minimumHeight: notificationView.contentHeight Plasmoid.backgroundHints: PlasmaCore.Types.NoBackground @@ -156,6 +156,48 @@ Item { summary: "July: Hello?" actions: [] } + ListElement { + source: "im2Source" + appIcon: "im-google" + appName: "Message" + summary: "July: Hello?" + actions: [] + } + ListElement { + source: "im2Source" + appIcon: "im-google" + appName: "Message" + summary: "July: Hello?" + actions: [] + } + ListElement { + source: "im2Source" + appIcon: "im-google" + appName: "Message" + summary: "July: Hello?" + actions: [] + } + ListElement { + source: "im2Source" + appIcon: "im-google" + appName: "Message" + summary: "July: Hello?" + actions: [] + } + ListElement { + source: "im2Source" + appIcon: "im-google" + appName: "Message" + summary: "July: Hello?" + actions: [] + } + ListElement { + source: "im2Source" + appIcon: "im-google" + appName: "Message" + summary: "July: Hello?" + actions: [] + } } ListView { @@ -163,6 +205,7 @@ Item { spacing: units.smallSpacing anchors.fill: parent interactive: false + cacheBuffer: 2000 z: 1 verticalLayoutDirection: ListView.BottomToTop