summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-04 11:00:16 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-04 11:00:16 +0200
commit01f13f0a71e518ab48741176565fa4e0d738db94 (patch)
tree70750918f552bcc35b4d0bfc0081689d8532546d
parent46b1a246642a0aafbf8032f0bbf7a515daeba103 (diff)
downloadkube-01f13f0a71e518ab48741176565fa4e0d738db94.tar.gz
kube-01f13f0a71e518ab48741176565fa4e0d738db94.zip
Only show the expand button if there is something to expand
-rw-r--r--framework/qml/MailViewer.qml4
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