diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-11-15 16:47:30 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-11-15 16:47:30 +0100 |
commit | d3c02c5d834b28e71abe9c721b683a1867abeb9a (patch) | |
tree | fd5a79fdab373d6648ada8f0dd6d80d78dffab97 | |
parent | accbd061f2a232a8a59b751e88491355711da28b (diff) | |
download | kube-d3c02c5d834b28e71abe9c721b683a1867abeb9a.tar.gz kube-d3c02c5d834b28e71abe9c721b683a1867abeb9a.zip |
add dummy subject bar, make conversationview flickable
-rw-r--r-- | components/package/contents/ui/SingleMailView.qml | 44 |
1 files changed, 42 insertions, 2 deletions
diff --git a/components/package/contents/ui/SingleMailView.qml b/components/package/contents/ui/SingleMailView.qml index 16f2d272..ea4e3ca0 100644 --- a/components/package/contents/ui/SingleMailView.qml +++ b/components/package/contents/ui/SingleMailView.qml | |||
@@ -30,9 +30,49 @@ Item { | |||
30 | 30 | ||
31 | property variant mail; | 31 | property variant mail; |
32 | 32 | ||
33 | ScrollView { | 33 | Rectangle { |
34 | id: subjectBar | ||
34 | 35 | ||
35 | anchors.fill: parent | 36 | anchors { |
37 | top: parent.top | ||
38 | left: parent.left | ||
39 | right: parent.right | ||
40 | } | ||
41 | |||
42 | height: Kirigami.Units.gridUnit * 2 | ||
43 | |||
44 | color: Kirigami.Theme.backgroundColor | ||
45 | |||
46 | Text { | ||
47 | anchors.centerIn: parent | ||
48 | |||
49 | text: "Some subject" | ||
50 | color: Kirigami.Theme.textColor | ||
51 | } | ||
52 | |||
53 | Rectangle { | ||
54 | |||
55 | anchors.bottom: parent.bottom | ||
56 | |||
57 | height: 1 | ||
58 | width: parent.width | ||
59 | |||
60 | color: Kirigami.Theme.highlightColor | ||
61 | } | ||
62 | } | ||
63 | |||
64 | |||
65 | Flickable { | ||
66 | id: flickable | ||
67 | |||
68 | anchors { | ||
69 | top: subjectBar.bottom | ||
70 | left: parent.left | ||
71 | right: parent.right | ||
72 | bottom: parent.bottom | ||
73 | } | ||
74 | |||
75 | clip: true | ||
36 | 76 | ||
37 | ListView { | 77 | ListView { |
38 | anchors.fill: parent | 78 | anchors.fill: parent |