diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-07-20 16:49:21 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-07-21 07:05:27 +0000 |
commit | 7eace7ac5a74b68338b948857c4f2bc2e58abc48 (patch) | |
tree | 1720dde558ead7c19c25afaaa167092fe7ee60d3 /tests | |
parent | 52d675a684b88e564b1419d015fae74e32495c7b (diff) |
Fix tst_pageindicator::test_interactive()
The Imagine style has to set top/left/right/bottom paddings separately.
When the individual paddings are explicitly set, the generic padding
property has no effect. Make the test set the required paddings so that
it works also with the Imagine style.
Change-Id: I8c4139917f397c8729817a54ad68c88d960dd479
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/controls/data/tst_pageindicator.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/controls/data/tst_pageindicator.qml b/tests/auto/controls/data/tst_pageindicator.qml index 70813cb8..f3151882 100644 --- a/tests/auto/controls/data/tst_pageindicator.qml +++ b/tests/auto/controls/data/tst_pageindicator.qml @@ -96,7 +96,7 @@ TestCase { } function test_interactive(data) { - var control = createTemporaryObject(pageIndicator, testCase, {count: 5, spacing: 10, padding: 10}) + var control = createTemporaryObject(pageIndicator, testCase, {count: 5, spacing: 10, topPadding: 10, leftPadding: 10, rightPadding: 10, bottomPadding: 10}) verify(control) verify(!control.interactive) |