diff options
-rw-r--r-- | components/kube/contents/ui/Kube.qml | 6 | ||||
-rw-r--r-- | framework/qml/NotificationPopup.qml | 9 |
2 files changed, 8 insertions, 7 deletions
diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml index 008d4899..344dbdc7 100644 --- a/components/kube/contents/ui/Kube.qml +++ b/components/kube/contents/ui/Kube.qml | |||
@@ -402,8 +402,10 @@ Controls2.ApplicationWindow { | |||
402 | id: notificationPopup | 402 | id: notificationPopup |
403 | 403 | ||
404 | anchors { | 404 | anchors { |
405 | top: parent.top | 405 | left: parent.left |
406 | horizontalCenter: parent.horizontalCenter | 406 | leftMargin: app.sidebarWidth - 3 // so it does not align with the border |
407 | bottom: parent.bottom | ||
408 | bottomMargin: Kube.Units.gridUnit * 4 | ||
407 | } | 409 | } |
408 | } | 410 | } |
409 | //END Notification | 411 | //END Notification |
diff --git a/framework/qml/NotificationPopup.qml b/framework/qml/NotificationPopup.qml index e5865881..0d51d485 100644 --- a/framework/qml/NotificationPopup.qml +++ b/framework/qml/NotificationPopup.qml | |||
@@ -25,7 +25,7 @@ MouseArea { | |||
25 | 25 | ||
26 | function notify(text) { | 26 | function notify(text) { |
27 | popup.title = text | 27 | popup.title = text |
28 | bg.color = Kube.Colors.textColor | 28 | bg.color = Kube.Colors.buttonColor |
29 | show() | 29 | show() |
30 | } | 30 | } |
31 | 31 | ||
@@ -53,10 +53,10 @@ MouseArea { | |||
53 | 53 | ||
54 | Rectangle { | 54 | Rectangle { |
55 | id: bg | 55 | id: bg |
56 | |||
57 | anchors.fill: parent | 56 | anchors.fill: parent |
58 | 57 | border.width: 1 | |
59 | opacity: 0.6 | 58 | border.color: Kube.Colors.textColor |
59 | opacity: 0.9 | ||
60 | } | 60 | } |
61 | 61 | ||
62 | Kube.Label { | 62 | Kube.Label { |
@@ -72,7 +72,6 @@ MouseArea { | |||
72 | 72 | ||
73 | font.pixelSize: 16 | 73 | font.pixelSize: 16 |
74 | 74 | ||
75 | color: Kube.Colors.highlightedTextColor | ||
76 | horizontalAlignment: Text.AlignHCenter | 75 | horizontalAlignment: Text.AlignHCenter |
77 | elide: Text.ElideRight | 76 | elide: Text.ElideRight |
78 | wrapMode: Text.Wrap | 77 | wrapMode: Text.Wrap |