summaryrefslogtreecommitdiffstats
path: root/demos/declarative/flickr/common/ScrollBar.qml
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-06 02:28:42 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-06 02:28:42 (GMT)
commitc3abf1a4ae82a57bbc6cc324fa6f9a99615ab066 (patch)
tree34beb32ce99c5b8e23ae506756ed4ad6590c87db /demos/declarative/flickr/common/ScrollBar.qml
parentdab7f1079a40a1beb5555c8ffaaf8b2c73781596 (diff)
downloadQt-c3abf1a4ae82a57bbc6cc324fa6f9a99615ab066.zip
Qt-c3abf1a4ae82a57bbc6cc324fa6f9a99615ab066.tar.gz
Qt-c3abf1a4ae82a57bbc6cc324fa6f9a99615ab066.tar.bz2
lowercase ids
Diffstat (limited to 'demos/declarative/flickr/common/ScrollBar.qml')
-rw-r--r--demos/declarative/flickr/common/ScrollBar.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/declarative/flickr/common/ScrollBar.qml b/demos/declarative/flickr/common/ScrollBar.qml
index d31c57c..feebcb0 100644
--- a/demos/declarative/flickr/common/ScrollBar.qml
+++ b/demos/declarative/flickr/common/ScrollBar.qml
@@ -1,7 +1,7 @@
import Qt 4.6
Item {
- id: Container
+ id: container
property var flickableArea
@@ -12,16 +12,16 @@ Item {
border.color: "white"
border.width: 2
x: 0
- y: flickableArea.visibleArea.yPosition * Container.height
+ y: flickableArea.visibleArea.yPosition * container.height
width: parent.width
- height: flickableArea.visibleArea.heightRatio * Container.height
+ height: flickableArea.visibleArea.heightRatio * container.height
}
states: [
State {
name: "show"
when: flickableArea.moving
PropertyChanges {
- target: Container
+ target: container
opacity: 1
}
}
@@ -31,7 +31,7 @@ Item {
from: "*"
to: "*"
NumberAnimation {
- target: Container
+ target: container
properties: "opacity"
duration: 400
}