From ab2f1a01d0705aee03d3bec21ac9a67558bea8b0 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Wed, 22 Jun 2016 11:08:11 +0200 Subject: more outbox ui --- components/package/contents/ui/Outbox.qml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'components/package/contents') diff --git a/components/package/contents/ui/Outbox.qml b/components/package/contents/ui/Outbox.qml index b30d7455..4baa0eae 100644 --- a/components/package/contents/ui/Outbox.qml +++ b/components/package/contents/ui/Outbox.qml @@ -28,11 +28,13 @@ ToolButton { id: root iconName: "mail-folder-outbox" + tooltip: "outbox" onClicked: { dialog.visible = dialog.visible ? false : true } + //BEGIN Dialog Rectangle { id: dialog @@ -41,8 +43,8 @@ ToolButton { horizontalCenter: parent.horizontalCenter } - height: 600 - width: 400 + height: Kirigami.Units.gridUnit * 15 + width: Kirigami.Units.gridUnit * 12 color: Kirigami.Theme.backgroundColor border.width: 1 @@ -50,5 +52,27 @@ ToolButton { radius: 3 clip: true visible: false + + //BEGIN Dialog Content + ScrollView { + anchors { + fill: parent + margins: 1 + } + ListView { + id: listView + + model: 3 + + delegate: Kirigami.AbstractListItem { + Kirigami.Label { + anchors.centerIn: parent + text: "Subjext subxetson" + } + } + } + } + //END Dialog Content } + //END Dialog } -- cgit v1.2.3