diff options
Diffstat (limited to 'components/package/contents/ui/SingleMailView.qml')
-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 |