diff options
Diffstat (limited to 'framework/qml/MailListView.qml')
-rw-r--r-- | framework/qml/MailListView.qml | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/framework/qml/MailListView.qml b/framework/qml/MailListView.qml index fc40074d..39cbd47c 100644 --- a/framework/qml/MailListView.qml +++ b/framework/qml/MailListView.qml | |||
@@ -131,8 +131,8 @@ Item { | |||
131 | } | 131 | } |
132 | } | 132 | } |
133 | 133 | ||
134 | Label { | 134 | Kube.Label { |
135 | anchors.top: searchBar.bottom | 135 | anchors.centerIn: parent |
136 | visible: listView.count === 0 | 136 | visible: listView.count === 0 |
137 | //TODO depending on whether we synchronized already or not the label should change. | 137 | //TODO depending on whether we synchronized already or not the label should change. |
138 | text: "Nothing here..." | 138 | text: "Nothing here..." |
@@ -279,30 +279,29 @@ Item { | |||
279 | leftMargin: Kube.Units.largeSpacing | 279 | leftMargin: Kube.Units.largeSpacing |
280 | } | 280 | } |
281 | 281 | ||
282 | Text{ | 282 | Kube.Label{ |
283 | id: subject | 283 | id: subject |
284 | 284 | ||
285 | width: content.width - Kube.Units.gridUnit * 3 | ||
286 | |||
285 | text: model.subject | 287 | text: model.subject |
286 | color: model.unread ? Kube.Colors.highlightColor : Kube.Colors.textColor | 288 | color: model.unread ? Kube.Colors.highlightColor : Kube.Colors.textColor |
287 | |||
288 | maximumLineCount: 2 | 289 | maximumLineCount: 2 |
289 | width: content.width - Kube.Units.gridUnit * 3 | ||
290 | wrapMode: Text.WrapAnywhere | 290 | wrapMode: Text.WrapAnywhere |
291 | elide: Text.ElideRight | 291 | elide: Text.ElideRight |
292 | } | 292 | } |
293 | 293 | ||
294 | Text { | 294 | Kube.Label { |
295 | id: sender | 295 | id: sender |
296 | 296 | ||
297 | text: model.senderName | 297 | text: model.senderName |
298 | font.italic: true | 298 | font.italic: true |
299 | color: Kube.Colors.textColor | ||
300 | width: delegateRoot.width - Kube.Units.gridUnit * 3 | 299 | width: delegateRoot.width - Kube.Units.gridUnit * 3 |
301 | elide: Text.ElideRight | 300 | elide: Text.ElideRight |
302 | } | 301 | } |
303 | } | 302 | } |
304 | 303 | ||
305 | Text { | 304 | Kube.Label { |
306 | id: date | 305 | id: date |
307 | 306 | ||
308 | anchors { | 307 | anchors { |
@@ -315,7 +314,7 @@ Item { | |||
315 | font.pointSize: 9 | 314 | font.pointSize: 9 |
316 | } | 315 | } |
317 | 316 | ||
318 | Text { | 317 | Kube.Label { |
319 | id: threadCounter | 318 | id: threadCounter |
320 | 319 | ||
321 | anchors { | 320 | anchors { |