From aea425255aae63c261e9fae6795941b5242f5ac0 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 27 Jun 2017 23:11:08 +0200 Subject: Only show details if there are any --- framework/qml/Icons.qml | 2 +- framework/qml/MailViewer.qml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'framework') diff --git a/framework/qml/Icons.qml b/framework/qml/Icons.qml index bacaadfa..6f0a8652 100644 --- a/framework/qml/Icons.qml +++ b/framework/qml/Icons.qml @@ -52,7 +52,7 @@ Item { property string goBack_inverted: "go-previous-inverted" property string goDown: "go-down" property string goDown_inverted: "go-down-inverted" - property string goUp: "go-down" + property string goUp: "go-up" property string addNew: "list-add" property string remove: "kube-list-remove-inverted" diff --git a/framework/qml/MailViewer.qml b/framework/qml/MailViewer.qml index 6ad8c760..1df3c62d 100644 --- a/framework/qml/MailViewer.qml +++ b/framework/qml/MailViewer.qml @@ -88,8 +88,8 @@ Rectangle { PropertyChanges { target: subject; wrapMode: Text.WrapAnywhere} PropertyChanges { target: recipients; visible: false} PropertyChanges { target: to; visible: true} - PropertyChanges { target: cc; visible: true} - PropertyChanges { target: bcc; visible: true} + PropertyChanges { target: cc; visible: root.cc} + PropertyChanges { target: bcc; visible: root.bcc} } ] @@ -226,6 +226,7 @@ Rectangle { height: Kube.Units.gridUnit width: height + visible: root.cc || root.bcc color: Kube.Colors.backgroundColor -- cgit v1.2.3