Finished Font Size Changes for Harmattan, Fremantle
[marketstoday] / src / qml / StockDetailsComponent.qml
index 32cefc5..359d9e7 100644 (file)
@@ -16,6 +16,7 @@ Item {
     id: stockDetailsScreen
     property int componentWidth: width
     property int itemHeight: 75
+    property int newsItemHeight: 50
     property int fontSizeMed: 24
     property int fontSizeSmall: 20
     property string symbol: "YHOO"
@@ -182,7 +183,7 @@ Item {
             id: stockNewsDelegate
 
             Item {
-                id: newsWrapper; width: stockDetailsLoader.width; height: itemHeight
+                id: newsWrapper; width: stockDetailsLoader.width; height: newsItemHeight
                 Item {
                     anchors.fill: parent
                     Rectangle { color: "black"; opacity: index % 2 ? 0.2 : 0.4; height: newsWrapper.height - 2; width: newsWrapper.width; y: 1 }
@@ -220,6 +221,7 @@ Item {
                     id: stockNameLabel
                     anchors.top: parent.top
                     width: parent.width
+                    z: 5
                     anchors.horizontalCenter: parent.horizontalCenter
                     height: stockDetailsScreen.fontSizeMed + 15
                     horizontalAlignment: Text.AlignHCenter; verticalAlignment: Text.AlignVCenter
@@ -234,6 +236,7 @@ Item {
                     border.color: "#BFBFBF"
                     color:"#2E2E2E"
                     anchors {top: stockNameLabel.bottom;left: parent.left;right: parent.right}
+                    z: 5
                     height: (stockDetailsScreen.width > stockDetailsScreen.height)? 105:155
                     radius: 15