diff options
Diffstat (limited to 'examples/quick/customitems/scrollbar')
-rw-r--r-- | examples/quick/customitems/scrollbar/main.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/quick/customitems/scrollbar/main.qml b/examples/quick/customitems/scrollbar/main.qml index 9248e44a42..f0a2cff50a 100644 --- a/examples/quick/customitems/scrollbar/main.qml +++ b/examples/quick/customitems/scrollbar/main.qml @@ -71,8 +71,10 @@ Rectangle { states: State { name: "ShowBars" when: view.movingVertically || view.movingHorizontally - PropertyChanges { target: verticalScrollBar; opacity: 1 } - PropertyChanges { target: horizontalScrollBar; opacity: 1 } + PropertyChanges { + verticalScrollBar.opacity: 1 + horizontalScrollBar.opacity: 1 + } } transitions: Transition { |