diff options
Diffstat (limited to 'components/package/contents/ui/Notification.qml')
-rw-r--r-- | components/package/contents/ui/Notification.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/package/contents/ui/Notification.qml b/components/package/contents/ui/Notification.qml index 62128961..2e01eabb 100644 --- a/components/package/contents/ui/Notification.qml +++ b/components/package/contents/ui/Notification.qml | |||
@@ -6,8 +6,8 @@ MouseArea { | |||
6 | id: popup | 6 | id: popup |
7 | anchors.top: parent.top | 7 | anchors.top: parent.top |
8 | anchors.horizontalCenter: parent.horizontalCenter | 8 | anchors.horizontalCenter: parent.horizontalCenter |
9 | width: Math.max(300, message.contentWidth + (Kirigami.Units.gridUnit * 2)) | 9 | width: Math.max(300, message.contentWidth + (Kirigami.Units.largeSpacing * 2)) |
10 | height: message.contentHeight + (Kirigami.Units.gridUnit * 2) | 10 | height: Math.max(50, message.contentHeight + (Kirigami.Units.largeSpacing * 2)) |
11 | property alias title: message.text | 11 | property alias title: message.text |
12 | property alias timeout: hideTimer.interval | 12 | property alias timeout: hideTimer.interval |
13 | property alias background: bg.color | 13 | property alias background: bg.color |
@@ -59,9 +59,9 @@ MouseArea { | |||
59 | font.pixelSize: 16 | 59 | font.pixelSize: 16 |
60 | color: Kirigami.Theme.highlightedTextColor | 60 | color: Kirigami.Theme.highlightedTextColor |
61 | anchors.left: parent.left | 61 | anchors.left: parent.left |
62 | anchors.leftMargin: Kirigami.Units.gridUnit | 62 | anchors.leftMargin: Kirigami.Units.largeSpacing |
63 | anchors.right: parent.right | 63 | anchors.right: parent.right |
64 | anchors.rightMargin: Kirigami.Units.gridUnit | 64 | anchors.rightMargin: Kirigami.Units.largeSpacing |
65 | horizontalAlignment: Text.AlignHCenter | 65 | horizontalAlignment: Text.AlignHCenter |
66 | elide: Text.ElideRight | 66 | elide: Text.ElideRight |
67 | wrapMode: Text.Wrap | 67 | wrapMode: Text.Wrap |