From d3370829309b28c3fe0eed67d734dc0f269419a3 Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Tue, 15 Sep 2015 15:27:26 +0200 Subject: [PATCH] Set fillMode: Image.PreserveAspectFit --- src/plugins/backends/snore/notification.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/backends/snore/notification.qml b/src/plugins/backends/snore/notification.qml index e0ebf13..8892f46 100644 --- a/src/plugins/backends/snore/notification.qml +++ b/src/plugins/backends/snore/notification.qml @@ -100,6 +100,7 @@ Rectangle { Image { id: image + fillMode: Image.PreserveAspectFit width: height smooth: true anchors.left: parent.left @@ -111,6 +112,7 @@ Rectangle { Image { id: appIcon + fillMode: Image.PreserveAspectFit height: root.height * 0.30 width: root.height * 0.30 smooth: true @@ -121,6 +123,7 @@ Rectangle { Image { id: closeButton + fillMode: Image.PreserveAspectFit height: root.height * 0.20 width: root.height * 0.20 anchors.top: parent.top