diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-17 16:30:36 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-17 16:30:36 +0100 |
commit | 3c349ea2f294d5e0e7f94ed471265b87aaed9d22 (patch) | |
tree | 71ab83ebfec11387989c8bb6e73edf0a7ad2c4a5 /components/package/contents/ui/Notification.qml | |
parent | be7f4d42d70922608ed6898717232bd78fe528e4 (diff) | |
download | kube-3c349ea2f294d5e0e7f94ed471265b87aaed9d22.tar.gz kube-3c349ea2f294d5e0e7f94ed471265b87aaed9d22.zip |
Use spacing instead of gridunit
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 |