From 3888cbf0717c7b0831f80b523f258b09106e1c30 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Sat, 5 Nov 2016 15:37:04 +0100 Subject: add wrap mode to subject in maillist --- components/package/contents/ui/MailListView.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'components/package/contents/ui/MailListView.qml') diff --git a/components/package/contents/ui/MailListView.qml b/components/package/contents/ui/MailListView.qml index 0d289569..20ba4ed3 100644 --- a/components/package/contents/ui/MailListView.qml +++ b/components/package/contents/ui/MailListView.qml @@ -97,6 +97,10 @@ Controls.ScrollView { Text{ text: model.subject color: mailListDelegate.checked ? Kirigami.Theme.textColor : model.unread ? "#1d99f3" : Kirigami.Theme.textColor + + maximumLineCount: 2 + width: mailListDelegate.width - Kirigami.Units.gridUnit * 3 + wrapMode: Text.WrapAnywhere } Text { @@ -111,7 +115,7 @@ Controls.ScrollView { right: parent.right bottom: parent.bottom } - text: Qt.formatDateTime(model.date) + text: Qt.formatDateTime(model.date, "dd MMM yyyy") font.italic: true color: Kirigami.Theme.textColor opacity: 0.5 @@ -119,7 +123,6 @@ Controls.ScrollView { } Rectangle { - anchors { right: parent.right } -- cgit v1.2.3