From 13bc1d6f34f6aa4425b318ea874270cd994ee336 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 10 May 2016 09:08:33 +0200 Subject: 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 --- tests/auto/sanity/BLACKLIST | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/auto/sanity') 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] * -- cgit v1.2.3