Use OpacityRamp on the cover page
authorLuciano Montanaro <mikelima@cirulla.net>
Thu, 2 Jan 2014 21:04:59 +0000 (22:04 +0100)
committerLuciano Montanaro <mikelima@cirulla.net>
Thu, 2 Jan 2014 21:04:59 +0000 (22:04 +0100)
This makes the text transparent when it gets close to the righr margin

application/resources/sailfish/qml/cover/CoverPage.qml

index 0dda240..ed5c7af 100644 (file)
@@ -28,4 +28,10 @@ CoverBackground {
             expectedPlatfrom: model.expectedPlatform
         }
     }
+    OpacityRampEffect {
+        id: effect
+        slope: 2
+        offset: 0.5
+        sourceItem: stationScheduleView
+    }
 }