diff options
Diffstat (limited to 'framework/qml/NotificationPopup.qml')
-rw-r--r-- | framework/qml/NotificationPopup.qml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/framework/qml/NotificationPopup.qml b/framework/qml/NotificationPopup.qml index 2d04575b..e5865881 100644 --- a/framework/qml/NotificationPopup.qml +++ b/framework/qml/NotificationPopup.qml | |||
@@ -1,7 +1,6 @@ | |||
1 | import QtQuick 2.0 | 1 | import QtQuick 2.0 |
2 | import QtQuick.Controls 2.0 | 2 | import QtQuick.Controls 2.0 |
3 | 3 | ||
4 | import org.kde.kirigami 1.0 as Kirigami | ||
5 | import org.kube.framework 1.0 as Kube | 4 | import org.kube.framework 1.0 as Kube |
6 | 5 | ||
7 | 6 | ||
@@ -38,8 +37,8 @@ MouseArea { | |||
38 | onTriggered: popup.hide() | 37 | onTriggered: popup.hide() |
39 | } | 38 | } |
40 | 39 | ||
41 | width: Math.max(300, message.contentWidth + (Kirigami.Units.largeSpacing * 2)) | 40 | width: Math.max(300, message.contentWidth + (Kube.Units.largeSpacing * 2)) |
42 | height: Math.max(50, message.contentHeight + (Kirigami.Units.largeSpacing * 2)) | 41 | height: Math.max(50, message.contentHeight + (Kube.Units.largeSpacing * 2)) |
43 | 42 | ||
44 | visible: opacity > 0 | 43 | visible: opacity > 0 |
45 | opacity: 0.0 | 44 | opacity: 0.0 |
@@ -66,9 +65,9 @@ MouseArea { | |||
66 | anchors { | 65 | anchors { |
67 | verticalCenter: popup.verticalCenter | 66 | verticalCenter: popup.verticalCenter |
68 | left: parent.left | 67 | left: parent.left |
69 | leftMargin: Kirigami.Units.largeSpacing | 68 | leftMargin: Kube.Units.largeSpacing |
70 | right: parent.right | 69 | right: parent.right |
71 | rightMargin: Kirigami.Units.largeSpacing | 70 | rightMargin: Kube.Units.largeSpacing |
72 | } | 71 | } |
73 | 72 | ||
74 | font.pixelSize: 16 | 73 | font.pixelSize: 16 |