diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-04 11:00:16 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-04 11:00:16 +0200 |
commit | 01f13f0a71e518ab48741176565fa4e0d738db94 (patch) | |
tree | 70750918f552bcc35b4d0bfc0081689d8532546d /framework/qml/MailViewer.qml | |
parent | 46b1a246642a0aafbf8032f0bbf7a515daeba103 (diff) | |
download | kube-01f13f0a71e518ab48741176565fa4e0d738db94.tar.gz kube-01f13f0a71e518ab48741176565fa4e0d738db94.zip |
Only show the expand button if there is something to expand
Diffstat (limited to 'framework/qml/MailViewer.qml')
-rw-r--r-- | framework/qml/MailViewer.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/qml/MailViewer.qml b/framework/qml/MailViewer.qml index cb40a8f5..e1e074b2 100644 --- a/framework/qml/MailViewer.qml +++ b/framework/qml/MailViewer.qml | |||
@@ -224,12 +224,14 @@ Rectangle { | |||
224 | 224 | ||
225 | Rectangle { | 225 | Rectangle { |
226 | id: goDown | 226 | id: goDown |
227 | |||
228 | anchors { | 227 | anchors { |
229 | bottom: seperator.top | 228 | bottom: seperator.top |
230 | right: seperator.right | 229 | right: seperator.right |
231 | } | 230 | } |
232 | 231 | ||
232 | //Only show the expand button if there is something to expand | ||
233 | visible: recipients.truncated || root.cc || root.bcc | ||
234 | |||
233 | height: Kube.Units.gridUnit | 235 | height: Kube.Units.gridUnit |
234 | width: height | 236 | width: height |
235 | 237 | ||