summaryrefslogtreecommitdiffstats
path: root/framework/qml/Outbox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/Outbox.qml')
-rw-r--r--framework/qml/Outbox.qml17
1 files changed, 8 insertions, 9 deletions
diff --git a/framework/qml/Outbox.qml b/framework/qml/Outbox.qml
index 46368294..0be1768a 100644
--- a/framework/qml/Outbox.qml
+++ b/framework/qml/Outbox.qml
@@ -21,7 +21,6 @@ import QtQuick.Layouts 1.1
21import QtQuick.Controls 2.0 21import QtQuick.Controls 2.0
22import QtQuick.Controls 1.3 as Controls 22import QtQuick.Controls 1.3 as Controls
23 23
24import org.kde.kirigami 1.0 as Kirigami
25import org.kube.framework 1.0 as Kube 24import org.kube.framework 1.0 as Kube
26 25
27 26
@@ -63,8 +62,8 @@ Controls.ToolButton {
63 Kube.Popup { 62 Kube.Popup {
64 id: dialog 63 id: dialog
65 64
66 height: content.height + Kirigami.Units.smallSpacing * 2 65 height: content.height + Kube.Units.smallSpacing * 2
67 width: content.width + Kirigami.Units.smallSpacing * 2 66 width: content.width + Kube.Units.smallSpacing * 2
68 67
69 y: - dialog.height + root.height 68 y: - dialog.height + root.height
70 x: root.width 69 x: root.width
@@ -74,21 +73,21 @@ Controls.ToolButton {
74 73
75 anchors.centerIn: parent 74 anchors.centerIn: parent
76 75
77 width: Kirigami.Units.gridUnit * 17 76 width: Kube.Units.gridUnit * 17
78 height: listView.count * Kirigami.Units.gridUnit * 3 + sendNowButton.height + Kirigami.Units.smallSpacing 77 height: listView.count * Kube.Units.gridUnit * 3 + sendNowButton.height + Kube.Units.smallSpacing
79 78
80 ListView { 79 ListView {
81 id: listView 80 id: listView
82 81
83 width: parent.width 82 width: parent.width
84 height: count * Kirigami.Units.gridUnit * 3 83 height: count * Kube.Units.gridUnit * 3
85 84
86 model: outboxModel 85 model: outboxModel
87 86
88 delegate: Rectangle { 87 delegate: Rectangle {
89 id: delegateRoot 88 id: delegateRoot
90 89
91 height: Kirigami.Units.gridUnit * 3 90 height: Kube.Units.gridUnit * 3
92 width: listView.width 91 width: listView.width
93 92
94 color: Kube.Colors.viewBackgroundColor 93 color: Kube.Colors.viewBackgroundColor
@@ -100,7 +99,7 @@ Controls.ToolButton {
100 anchors { 99 anchors {
101 verticalCenter: parent.verticalCenter 100 verticalCenter: parent.verticalCenter
102 left: parent.left 101 left: parent.left
103 leftMargin: Kirigami.Units.largeSpacing 102 leftMargin: Kube.Units.largeSpacing
104 } 103 }
105 text: model.subject 104 text: model.subject
106 105
@@ -155,7 +154,7 @@ Controls.ToolButton {
155 154
156 anchors { 155 anchors {
157 top: listView.bottom 156 top: listView.bottom
158 topMargin: Kirigami.Units.smallSpacing 157 topMargin: Kube.Units.smallSpacing
159 horizontalCenter: parent.horizontalCenter 158 horizontalCenter: parent.horizontalCenter
160 } 159 }
161 160