summaryrefslogtreecommitdiffstats
path: root/components/package/contents/ui
diff options
context:
space:
mode:
Diffstat (limited to 'components/package/contents/ui')
-rw-r--r--components/package/contents/ui/Outbox.qml16
1 files changed, 12 insertions, 4 deletions
diff --git a/components/package/contents/ui/Outbox.qml b/components/package/contents/ui/Outbox.qml
index 4baa0eae..ff049683 100644
--- a/components/package/contents/ui/Outbox.qml
+++ b/components/package/contents/ui/Outbox.qml
@@ -38,13 +38,15 @@ ToolButton {
38 Rectangle { 38 Rectangle {
39 id: dialog 39 id: dialog
40 40
41 property int modelCount: 5 //FIXME replace with actual model
42
41 anchors { 43 anchors {
42 top: parent.bottom 44 top: parent.bottom
43 horizontalCenter: parent.horizontalCenter 45 horizontalCenter: parent.horizontalCenter
44 } 46 }
45 47
46 height: Kirigami.Units.gridUnit * 15 48 height: modelCount * Kirigami.Units.gridUnit * 3 + 10//scrollView.height height: Kirigami.Units.gridUnit * 15
47 width: Kirigami.Units.gridUnit * 12 49 width: Kirigami.Units.gridUnit * 12
48 50
49 color: Kirigami.Theme.backgroundColor 51 color: Kirigami.Theme.backgroundColor
50 border.width: 1 52 border.width: 1
@@ -55,16 +57,22 @@ ToolButton {
55 57
56 //BEGIN Dialog Content 58 //BEGIN Dialog Content
57 ScrollView { 59 ScrollView {
60 id: scrollView
61
58 anchors { 62 anchors {
59 fill: parent 63 fill: parent
60 margins: 1 64 margins: 5
61 } 65 }
66
62 ListView { 67 ListView {
63 id: listView 68 id: listView
64 69
65 model: 3 70 model: 5
66 71
67 delegate: Kirigami.AbstractListItem { 72 delegate: Kirigami.AbstractListItem {
73
74 height: Kirigami.Units.gridUnit * 3
75
68 Kirigami.Label { 76 Kirigami.Label {
69 anchors.centerIn: parent 77 anchors.centerIn: parent
70 text: "Subjext subxetson" 78 text: "Subjext subxetson"