summaryrefslogtreecommitdiffstats
path: root/framework/qml/AbstractButton.qml
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-09-14 12:39:13 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-09-14 12:39:13 +0200
commitbf45a0d582f82169566e34380e8262627f0e8782 (patch)
treee9494b1adbc5cfc83ac1a106cb0bd7e5a8a8473a /framework/qml/AbstractButton.qml
parenta1e93b9eadc728a8c02cf4a36ea1a1a6fa7b7b46 (diff)
downloadkube-bf45a0d582f82169566e34380e8262627f0e8782.tar.gz
kube-bf45a0d582f82169566e34380e8262627f0e8782.zip
button: visualize disabled state
Diffstat (limited to 'framework/qml/AbstractButton.qml')
-rw-r--r--framework/qml/AbstractButton.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qml/AbstractButton.qml b/framework/qml/AbstractButton.qml
index d55176ea..6738fc63 100644
--- a/framework/qml/AbstractButton.qml
+++ b/framework/qml/AbstractButton.qml
@@ -62,6 +62,6 @@ T.Button {
62 elide: Text.ElideRight 62 elide: Text.ElideRight
63 horizontalAlignment: Text.AlignHCenter 63 horizontalAlignment: Text.AlignHCenter
64 verticalAlignment: Text.AlignVCenter 64 verticalAlignment: Text.AlignVCenter
65 color: root.textColor 65 color: root.enabled ? root.textColor : Colors.disabledTextColor
66 } 66 }
67} 67}