Changed PageHeader color to a gradient
authorLuciano Montanaro <mikelima@cirulla.net>
Sun, 24 Jul 2011 15:13:05 +0000 (17:13 +0200)
committerLuciano Montanaro <mikelima@cirulla.net>
Tue, 27 Dec 2011 22:16:47 +0000 (23:16 +0100)
application/resources/harmattan/qml/PageHeader.qml

index cf6fe74..0563138 100644 (file)
@@ -13,7 +13,10 @@ Rectangle {
     height: screen.currentOrientation == Screen.Landscape ?
                 UiConstants.HeaderDefaultHeightLandscape :
     UiConstants.HeaderDefaultHeightPortrait
-    color: mouse.pressed ? "#060" : "#071"
+    gradient: Gradient {
+        GradientStop { color: mouse.pressed ? "#040" : "#061"; position: 0.0 }
+        GradientStop { color: "#0a2"; position: 1.0 }
+    }
 
     TumblerButtonStyle {
         id: style