--- a/qtmobility/examples/qmlcontacts/ScrollBar.qml Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/examples/qmlcontacts/ScrollBar.qml Mon May 03 13:18:40 2010 +0300
@@ -10,6 +10,8 @@
property real position
property real pageSize
property var orientation : "Vertical"
+ property alias bgColor: background.color
+ property alias fgColor: thumb.color
// A light, semi-transparent background
Rectangle {
@@ -20,6 +22,7 @@
}
// Size the bar to the required size, depending upon the orientation.
Rectangle {
+ id: thumb
opacity: 0.7
color: "black"
radius: orientation == 'Vertical' ? (width/2 - 1) : (height/2 - 1)