From 01f13f0a71e518ab48741176565fa4e0d738db94 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 4 Jul 2018 11:00:16 +0200 Subject: Only show the expand button if there is something to expand --- framework/qml/MailViewer.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { Rectangle { id: goDown - anchors { bottom: seperator.top right: seperator.right } + //Only show the expand button if there is something to expand + visible: recipients.truncated || root.cc || root.bcc + height: Kube.Units.gridUnit width: height -- cgit v1.2.3