diff options
author | Marko Niemelä <marko.a.niemela@nokia.com> | 2012-01-24 15:57:54 +0200 |
---|---|---|
committer | Marko Niemelä <marko.a.niemela@nokia.com> | 2012-01-24 15:57:54 +0200 |
commit | 0c8b229647d5d27f7a25ca7a86aa0e0e5fb55eea (patch) | |
tree | 32d67cdf0b7c85c1e5e1c43da9373e95e7c2b2b0 /tests | |
parent | 8a181e85fca02271123dcbb91c5460194be6ea6c (diff) |
TestBed control height animation initially disabled
Diffstat (limited to 'tests')
-rw-r--r-- | tests/manual/testbed/Control.qml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/manual/testbed/Control.qml b/tests/manual/testbed/Control.qml index 76a1dfd..6f16fc7 100644 --- a/tests/manual/testbed/Control.qml +++ b/tests/manual/testbed/Control.qml @@ -52,6 +52,8 @@ Item { height: __hide ? 30 : controlsColumn.height + 40 Behavior on height { + id: heightBehavior + enabled: false NumberAnimation { duration: 100 } } @@ -89,7 +91,10 @@ Item { anchors.left: parent.left anchors.right: parent.right height: 30 - onClicked: control.__hide = !control.__hide + onClicked: { + heightBehavior.enabled = true + control.__hide = !control.__hide + } } Column { |