diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-11-05 15:37:04 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-11-05 15:37:04 +0100 |
commit | 3888cbf0717c7b0831f80b523f258b09106e1c30 (patch) | |
tree | 76c1411ddeb842aa8f2f03ed48f01f8fdde3b315 | |
parent | ceddb204097cf46e3d62d0cdd9e6291203b50685 (diff) | |
download | kube-3888cbf0717c7b0831f80b523f258b09106e1c30.tar.gz kube-3888cbf0717c7b0831f80b523f258b09106e1c30.zip |
add wrap mode to subject in maillist
-rw-r--r-- | components/package/contents/ui/MailListView.qml | 7 |
1 files changed, 5 insertions, 2 deletions
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 { | |||
97 | Text{ | 97 | Text{ |
98 | text: model.subject | 98 | text: model.subject |
99 | color: mailListDelegate.checked ? Kirigami.Theme.textColor : model.unread ? "#1d99f3" : Kirigami.Theme.textColor | 99 | color: mailListDelegate.checked ? Kirigami.Theme.textColor : model.unread ? "#1d99f3" : Kirigami.Theme.textColor |
100 | |||
101 | maximumLineCount: 2 | ||
102 | width: mailListDelegate.width - Kirigami.Units.gridUnit * 3 | ||
103 | wrapMode: Text.WrapAnywhere | ||
100 | } | 104 | } |
101 | 105 | ||
102 | Text { | 106 | Text { |
@@ -111,7 +115,7 @@ Controls.ScrollView { | |||
111 | right: parent.right | 115 | right: parent.right |
112 | bottom: parent.bottom | 116 | bottom: parent.bottom |
113 | } | 117 | } |
114 | text: Qt.formatDateTime(model.date) | 118 | text: Qt.formatDateTime(model.date, "dd MMM yyyy") |
115 | font.italic: true | 119 | font.italic: true |
116 | color: Kirigami.Theme.textColor | 120 | color: Kirigami.Theme.textColor |
117 | opacity: 0.5 | 121 | opacity: 0.5 |
@@ -119,7 +123,6 @@ Controls.ScrollView { | |||
119 | } | 123 | } |
120 | 124 | ||
121 | Rectangle { | 125 | Rectangle { |
122 | |||
123 | anchors { | 126 | anchors { |
124 | right: parent.right | 127 | right: parent.right |
125 | } | 128 | } |