summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/mail/contents/ui/Mail.qml7
-rw-r--r--components/package/contents/ui/Notification.qml5
2 files changed, 7 insertions, 5 deletions
diff --git a/components/mail/contents/ui/Mail.qml b/components/mail/contents/ui/Mail.qml
index acb75554..528c9073 100644
--- a/components/mail/contents/ui/Mail.qml
+++ b/components/mail/contents/ui/Mail.qml
@@ -351,9 +351,16 @@ Controls2.ApplicationWindow {
351 } 351 }
352 //END AccountWizard 352 //END AccountWizard
353 353
354 //BEGIN Notification
354 KubeComponents.Notification { 355 KubeComponents.Notification {
355 id: notificationPopup 356 id: notificationPopup
357
358 anchors {
359 top: parent.top
360 horizontalCenter: parent.horizontalCenter
361 }
356 } 362 }
363 //END Notification
357 364
358 //BEGIN Search 365 //BEGIN Search
359 Controls2.Popup { 366 Controls2.Popup {
diff --git a/components/package/contents/ui/Notification.qml b/components/package/contents/ui/Notification.qml
index 51f06512..95be52b6 100644
--- a/components/package/contents/ui/Notification.qml
+++ b/components/package/contents/ui/Notification.qml
@@ -35,11 +35,6 @@ MouseArea {
35 onTriggered: popup.hide() 35 onTriggered: popup.hide()
36 } 36 }
37 37
38 anchors {
39 top: parent.top
40 horizontalCenter: parent.horizontalCenter
41 }
42
43 width: Math.max(300, message.contentWidth + (Kirigami.Units.largeSpacing * 2)) 38 width: Math.max(300, message.contentWidth + (Kirigami.Units.largeSpacing * 2))
44 height: Math.max(50, message.contentHeight + (Kirigami.Units.largeSpacing * 2)) 39 height: Math.max(50, message.contentHeight + (Kirigami.Units.largeSpacing * 2))
45 40