Merge branch 'fontsizechanges'
[marketstoday] / src / qml / ConfigTickersComponent.qml
index 55639f6..1477a12 100644 (file)
@@ -1,5 +1,5 @@
 /*
-@version: 0.4
+@version: 0.5
 @author: Sudheer K. <scifi1947 at gmail.com>
 @license: GNU General Public License
 */
@@ -10,7 +10,7 @@ import "Library/js/DBUtility.js" as DBUtility
 Item {
     id: tickerTab
     property int componentWidth
-    property int itemHeight
+    property int itemHeight: 75
     signal logRequest(string strMessage)
 
     Component.onCompleted: {
@@ -34,7 +34,7 @@ Item {
         logRequest("Removing symbol "+symbol+" at index "+index);
 
         var result = DBUtility.removeSymbol(symbol);
-        if (result != "Error"){
+        if (result !== "Error"){
             symbolsListModel.remove(index);
         }
         else{
@@ -50,7 +50,7 @@ Item {
             var result = DBUtility.addSymbol(symbol);
             logRequest("Result is "+result);
 
-            if (result != "Error"){
+            if (result !== "Error"){
                 symbolsListModel.append({"symbol": symbol});
             }
             else{
@@ -85,7 +85,7 @@ Item {
                 verticalAlignment: Text.AlignVCenter
                 width: parent.width - 120;
                 height: parent.height
-                font.pixelSize: 18;
+                font.pixelSize: 24;
                 font.bold: true;
                 elide: Text.ElideRight;
                 color: "white";
@@ -128,6 +128,7 @@ Item {
         width: componentWidth
         height: itemHeight;
         anchors.top: parent.top
+        z: 5
         color: "#343434"
 
         Item {
@@ -145,7 +146,7 @@ Item {
                 anchors.leftMargin: 5
                 anchors.verticalCenter: parent.verticalCenter
                 maximumLength:25
-                font.pixelSize: 18
+                font.pixelSize: 24
                 font.bold: true
                 font.capitalization: Font.AllUppercase                
                 inputMethodHints: Qt.ImhNoPredictiveText
@@ -213,8 +214,8 @@ Item {
     Rectangle{
         id: footerTextArea
         width: parent.width
-        height: itemHeight
-        z: 5
+        height: 25
+        //z: 5
         color: "#343434"
         anchors.bottom: parent.bottom
         Text {