diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-09 10:29:49 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-09 10:29:49 +0100 |
commit | 207be0e03b18ca2af4949f44b6f8bcadd6220695 (patch) | |
tree | 97a7fe8ef433dd4fbdd94cfbea2d3c1b1a0576b0 /applications | |
parent | e3a0dba180e9262728d7967e977f1def754ec403 (diff) | |
download | kube-207be0e03b18ca2af4949f44b6f8bcadd6220695.tar.gz kube-207be0e03b18ca2af4949f44b6f8bcadd6220695.zip |
Made the maillist a bit easier to look at.
Diffstat (limited to 'applications')
-rw-r--r-- | applications/kube-mail/package/contents/ui/MailListView.qml | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/applications/kube-mail/package/contents/ui/MailListView.qml b/applications/kube-mail/package/contents/ui/MailListView.qml index 5fb4678c..5e830b73 100644 --- a/applications/kube-mail/package/contents/ui/MailListView.qml +++ b/applications/kube-mail/package/contents/ui/MailListView.qml | |||
@@ -19,6 +19,8 @@ import QtQuick 2.4 | |||
19 | import QtQuick.Controls 1.3 | 19 | import QtQuick.Controls 1.3 |
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | 21 | ||
22 | import QtQml 2.2 | ||
23 | |||
22 | import org.kde.plasma.components 2.0 as PlasmaComponents | 24 | import org.kde.plasma.components 2.0 as PlasmaComponents |
23 | 25 | ||
24 | import org.kde.kube.mail 1.0 as Mail | 26 | import org.kde.kube.mail 1.0 as Mail |
@@ -57,10 +59,11 @@ ScrollView { | |||
57 | 59 | ||
58 | anchors.fill: parent | 60 | anchors.fill: parent |
59 | 61 | ||
60 | color: colorPalette.read | 62 | // color: colorPalette.read |
63 | color: "steelblue" | ||
61 | opacity: 0.1 | 64 | opacity: 0.1 |
62 | 65 | ||
63 | visible: model.unread == false | 66 | visible: model.unread |
64 | } | 67 | } |
65 | 68 | ||
66 | Avatar { | 69 | Avatar { |
@@ -92,21 +95,22 @@ ScrollView { | |||
92 | font.weight: Font.DemiBold | 95 | font.weight: Font.DemiBold |
93 | } | 96 | } |
94 | 97 | ||
95 | Label { | 98 | //The name currently contains both name and address |
96 | id: sender | 99 | // Label { |
97 | 100 | // id: sender | |
98 | anchors { | 101 | // |
99 | top: avatar.top | 102 | // anchors { |
100 | left: senderName.right | 103 | // top: avatar.top |
101 | leftMargin: unit.size | 104 | // left: senderName.right |
102 | right: date.left | 105 | // leftMargin: unit.size |
103 | rightMargin: unit.size | 106 | // right: date.left |
104 | } | 107 | // rightMargin: unit.size |
105 | 108 | // } | |
106 | text: "(" + model.sender +")" | 109 | // |
107 | 110 | // text: "(" + model.sender +")" | |
108 | clip: true | 111 | // |
109 | } | 112 | // clip: true |
113 | // } | ||
110 | 114 | ||
111 | Label { | 115 | Label { |
112 | id: date | 116 | id: date |
@@ -117,7 +121,7 @@ ScrollView { | |||
117 | rightMargin: unit.size * 2 | 121 | rightMargin: unit.size * 2 |
118 | } | 122 | } |
119 | 123 | ||
120 | text: model.date | 124 | text: Qt.formatDateTime(model.date) |
121 | 125 | ||
122 | font.weight: Font.Light | 126 | font.weight: Font.Light |
123 | } | 127 | } |