From bf45a0d582f82169566e34380e8262627f0e8782 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Thu, 14 Sep 2017 12:39:13 +0200 Subject: button: visualize disabled state --- framework/qml/AbstractButton.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/qml') 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 { elide: Text.ElideRight horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter - color: root.textColor + color: root.enabled ? root.textColor : Colors.disabledTextColor } } -- cgit v1.2.3