summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2016-12-11 20:59:41 +0100
committerMichael Bohlender <michael.bohlender@kdemail.net>2016-12-11 20:59:41 +0100
commitd33a51641ca2f3549d4cdf0fc85b55a97f38d894 (patch)
tree17ce5a9557015737bbce90e725914e4d44373e64
parentc752222b13fffdddd1150dbe748d4d7e4135b3d9 (diff)
downloadkube-d33a51641ca2f3549d4cdf0fc85b55a97f38d894.tar.gz
kube-d33a51641ca2f3549d4cdf0fc85b55a97f38d894.zip
elide text in maillistdelegate and don't overlap sender with date
-rw-r--r--components/package/contents/ui/MailListView.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/package/contents/ui/MailListView.qml b/components/package/contents/ui/MailListView.qml
index 976bfc13..cb0bd4bf 100644
--- a/components/package/contents/ui/MailListView.qml
+++ b/components/package/contents/ui/MailListView.qml
@@ -66,7 +66,7 @@ Item {
66 id: mailListDelegate 66 id: mailListDelegate
67 67
68 width: scrollbar.visible ? listView.width - scrollbar.width : listView.width 68 width: scrollbar.visible ? listView.width - scrollbar.width : listView.width
69 height: Kirigami.Units.gridUnit * 4 69 height: Kirigami.Units.gridUnit * 4.5
70 70
71 enabled: true 71 enabled: true
72 supportsMouseEvents: true 72 supportsMouseEvents: true
@@ -113,12 +113,15 @@ Item {
113 maximumLineCount: 2 113 maximumLineCount: 2
114 width: mailListDelegate.width - Kirigami.Units.gridUnit * 3 114 width: mailListDelegate.width - Kirigami.Units.gridUnit * 3
115 wrapMode: Text.WrapAnywhere 115 wrapMode: Text.WrapAnywhere
116 elide: Text.ElideRight
116 } 117 }
117 118
118 Text { 119 Text {
119 text: model.senderName 120 text: model.senderName
120 font.italic: true 121 font.italic: true
121 color: mailListDelegate.checked ? Kirigami.Theme.highlightedTextColor : Kirigami.Theme.textColor 122 color: mailListDelegate.checked ? Kirigami.Theme.highlightedTextColor : Kirigami.Theme.textColor
123 width: mailListDelegate.width - Kirigami.Units.gridUnit * 3
124 elide: Text.ElideRight
122 } 125 }
123 } 126 }
124 127