diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-05-12 22:50:52 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-05-13 09:28:29 +0000 |
commit | c444fd5b641c8029b0f33681df057000160b3d5f (patch) | |
tree | 20ffc8c79dc57d658d21437a33cf1b4a4e60b6b0 | |
parent | 5d7fe7e0687b5cfcafd25e9f0ce0ade38cc0ad4f (diff) |
Material: visualize Button::checked state
It's not very well visible, but better than completely missing visuals.
Task-number: QTBUG-53348
Change-Id: I16067bfb4f9f118ad5765f2831018b2fd89337f7
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r-- | src/imports/controls/material/Button.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/material/Button.qml b/src/imports/controls/material/Button.qml index 984a2ece..a1903f3e 100644 --- a/src/imports/controls/material/Button.qml +++ b/src/imports/controls/material/Button.qml @@ -90,7 +90,7 @@ T.Button { : control.down ? control.highlighted ? control.Material.highlightedButtonPressColor : control.Material.buttonPressColor - : control.visualFocus + : control.visualFocus || control.checked ? control.highlighted ? control.Material.highlightedButtonHoverColor : control.Material.buttonHoverColor : control.highlighted ? control.Material.highlightedButtonColor |