Added a shadow effect under the search bar
authorLuciano Montanaro <mikelima@cirulla.net>
Sun, 24 Jul 2011 15:00:37 +0000 (17:00 +0200)
committerLuciano Montanaro <mikelima@cirulla.net>
Tue, 27 Dec 2011 22:16:47 +0000 (23:16 +0100)
application/resources/harmattan/qml/StationListPage.qml

index 142f021..c0bf165 100644 (file)
@@ -83,13 +83,23 @@ Page {
         property: "searchPattern"
         value: searchField.text
     }
-    Column {
+    Rectangle {
+        id: shadow
+        width: parent.width
+        anchors.top: mainView.top
+        height: 5
+        gradient: Gradient {
+            GradientStop {color: "#aa000000"; position: 0.0}
+            GradientStop {color: "#00000000"; position: 1.0}
+        }
+    }
+    Item {
+        id: mainView
         x: 16
         y: 16
         anchors.top: searchField.bottom
         width: parent.width - 32
         height: parent.height
-        spacing: 16
         ListView {
             id: stationListView
             clip: true