diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-01-09 16:53:42 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-01-09 16:53:42 +0100 |
commit | 3eff42fdbf6406b6fb230be86aca759427e4681e (patch) | |
tree | f3c61b8283aeb5c758e8ed91c00ccfa98c624d74 | |
parent | e8c68d1585bad8e01af9feb2d23f42da6acfae73 (diff) | |
download | kube-3eff42fdbf6406b6fb230be86aca759427e4681e.tar.gz kube-3eff42fdbf6406b6fb230be86aca759427e4681e.zip |
elide text in header
-rw-r--r-- | components/package/contents/ui/SingleMailView.qml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/components/package/contents/ui/SingleMailView.qml b/components/package/contents/ui/SingleMailView.qml index 2db3afd4..ca6d52f1 100644 --- a/components/package/contents/ui/SingleMailView.qml +++ b/components/package/contents/ui/SingleMailView.qml | |||
@@ -147,6 +147,7 @@ Item { | |||
147 | text: model.sender | 147 | text: model.sender |
148 | 148 | ||
149 | width: parent.width - senderName.width - date_label.width - Kirigami.Units.largeSpacing | 149 | width: parent.width - senderName.width - date_label.width - Kirigami.Units.largeSpacing |
150 | elide: Text.ElideRight | ||
150 | 151 | ||
151 | color: Kirigami.Theme.textColor | 152 | color: Kirigami.Theme.textColor |
152 | opacity: 0.75 | 153 | opacity: 0.75 |
@@ -156,25 +157,34 @@ Item { | |||
156 | } | 157 | } |
157 | 158 | ||
158 | Text { | 159 | Text { |
160 | |||
161 | width: to.width | ||
162 | |||
159 | text: model.subject | 163 | text: model.subject |
160 | 164 | ||
165 | elide: Text.ElideRight | ||
166 | |||
161 | color: Kirigami.Theme.textColor | 167 | color: Kirigami.Theme.textColor |
162 | opacity: 0.75 | 168 | opacity: 0.75 |
163 | |||
164 | font.italic: true | 169 | font.italic: true |
165 | } | 170 | } |
166 | 171 | ||
167 | Text { | 172 | Text { |
168 | id: to | 173 | id: to |
169 | 174 | ||
175 | width: parent.width - goDown.width - Kirigami.Units.smallSpacing | ||
176 | |||
170 | text:"to: "+ model.to + " " + model.cc + " " + model.bcc | 177 | text:"to: "+ model.to + " " + model.cc + " " + model.bcc |
171 | 178 | ||
179 | elide: Text.ElideRight | ||
180 | |||
172 | color: Kirigami.Theme.textColor | 181 | color: Kirigami.Theme.textColor |
173 | opacity: 0.75 | 182 | opacity: 0.75 |
174 | } | 183 | } |
175 | 184 | ||
176 | } | 185 | } |
177 | Rectangle { | 186 | Rectangle { |
187 | id: goDown | ||
178 | anchors { | 188 | anchors { |
179 | bottom: seperator.top | 189 | bottom: seperator.top |
180 | right: seperator.right | 190 | right: seperator.right |