summaryrefslogtreecommitdiffstats
path: root/examples/declarative/scrollbar/ScrollBar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/scrollbar/ScrollBar.qml')
-rw-r--r--examples/declarative/scrollbar/ScrollBar.qml14
1 files changed, 4 insertions, 10 deletions
diff --git a/examples/declarative/scrollbar/ScrollBar.qml b/examples/declarative/scrollbar/ScrollBar.qml
index e3ca0c2..929c72a 100644
--- a/examples/declarative/scrollbar/ScrollBar.qml
+++ b/examples/declarative/scrollbar/ScrollBar.qml
@@ -5,16 +5,10 @@ Item {
// height of the page, i.e. a pageSize of 0.5 means that you can see 50%
// of the height of the view.
// orientation can be either 'Vertical' or 'Horizontal'
- properties: Property {
- name: "position"
- }
- properties: Property {
- name: "pageSize"
- }
- properties: Property {
- name: "orientation"
- value: "Vertical"
- }
+ property var position
+ property var pageSize
+ property var orientation : "Vertical"
+
// A light, semi-transparent background
Rect {
id: Background