diff options
author | Jan Arve Saether <jan-arve.saether@digia.com> | 2014-08-27 08:20:37 +0200 |
---|---|---|
committer | Jan Arve Sæther <jan-arve.saether@digia.com> | 2014-08-27 12:57:38 +0200 |
commit | 7f7e9faeb4b4a9c8f198ae774e92ab2bc1e471b9 (patch) | |
tree | ffa1dc79b6b2f1e819e27ef0f2b756a8a56e7c23 /tests | |
parent | 6c09c2142e7319d72593e7f9f5391352da0a0dee (diff) | |
download | qtquickcontrols-7f7e9faeb4b4a9c8f198ae774e92ab2bc1e471b9.tar.gz |
StackView itself should not anchor to parent
This should be up to the application developer to decide.
Task-number: QTBUG-38469
Change-Id: I4da0ef0e9c7469c3451e64f9a53e1d1dfbb89b0e
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/controls/data/tst_stackview.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/controls/data/tst_stackview.qml b/tests/auto/controls/data/tst_stackview.qml index 848be725..9bbe5f4b 100644 --- a/tests/auto/controls/data/tst_stackview.qml +++ b/tests/auto/controls/data/tst_stackview.qml @@ -73,5 +73,9 @@ TestCase { verify (stack.depth === 1) stack.push(pageComponent) verify (stack.depth === 2) + + var w = stack.width + testCase.width = w + 333 + compare(stack.width, w) } } |