diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-11-27 14:40:14 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-11-27 14:40:14 +0100 |
commit | 070cb6ea087107dea4fdd274870e4c7b922fdb18 (patch) | |
tree | b1a2c7f8550df8c8cb179a1b20ac8adae59b59e4 /framework | |
parent | a19364666bf5b46636e7fa1ec1071c2fb91100fc (diff) | |
download | kube-070cb6ea087107dea4fdd274870e4c7b922fdb18.tar.gz kube-070cb6ea087107dea4fdd274870e4c7b922fdb18.zip |
Visualize disabled text color
Diffstat (limited to 'framework')
-rw-r--r-- | framework/qml/Label.qml | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
21 | import org.kube.framework 1.0 as Kube | 21 | import org.kube.framework 1.0 as Kube |
22 | 22 | ||
23 | T.Label { | 23 | T.Label { |
24 | color: Kube.Colors.textColor | 24 | color: enabled ? Kube.Colors.textColor : Kube.Colors.disabledTextColor |
25 | font.family: Kube.Font.fontFamily | 25 | font.family: Kube.Font.fontFamily |
26 | linkColor: Kube.Colors.highlightColor | 26 | linkColor: Kube.Colors.highlightColor |
27 | onLinkActivated: Qt.openUrlExternally(link) | 27 | onLinkActivated: Qt.openUrlExternally(link) |