From 070cb6ea087107dea4fdd274870e4c7b922fdb18 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 27 Nov 2017 14:40:14 +0100 Subject: Visualize disabled text color --- framework/qml/Label.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/qml/Label.qml b/framework/qml/Label.qml index 850ed8ba..b2bfc94a 100644 --- a/framework/qml/Label.qml +++ b/framework/qml/Label.qml @@ -21,7 +21,7 @@ import QtQuick.Templates 2.0 as T import org.kube.framework 1.0 as Kube T.Label { - color: Kube.Colors.textColor + color: enabled ? Kube.Colors.textColor : Kube.Colors.disabledTextColor font.family: Kube.Font.fontFamily linkColor: Kube.Colors.highlightColor onLinkActivated: Qt.openUrlExternally(link) -- cgit v1.2.3