aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/sanity
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-05-10 09:08:33 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-05-10 12:47:13 +0000
commit13bc1d6f34f6aa4425b318ea874270cd994ee336 (patch)
treed063a4da4c3005e335801a7cebcba325d6bbe668 /tests/auto/sanity
parentf2342bf0646c65512e4df864495cfd3c6c11da65 (diff)
Material: fix SwitchDelegate press color
Elevation is required to get a shadow for the indicator, but it also affects the press color, which is undesired. To avoid a darker press color than the other delegates have, elevate only the indicator instead of the whole delegate. Unfortunately, this results to two Material attached object instances for the delegate, so it must be blacklisted in tst_sanity... Change-Id: I8b607ba8f7493fd34a4bdc131a5bfdc5a39159ae Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/sanity')
-rw-r--r--tests/auto/sanity/BLACKLIST4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/sanity/BLACKLIST b/tests/auto/sanity/BLACKLIST
index ffff0c96..09cc7f3d 100644
--- a/tests/auto/sanity/BLACKLIST
+++ b/tests/auto/sanity/BLACKLIST
@@ -8,5 +8,9 @@
*
[attachedObjects:material/ComboBox.qml]
*
+[attachedObjects:material/Switch.qml]
+*
+[attachedObjects:material/SwitchDelegate.qml]
+*
[attachedObjects:universal/ComboBox.qml]
*