* Fixes for ScrollBar
[lichviet] / qml / LichViet / Button.qml
index 662c714..20563aa 100644 (file)
@@ -21,19 +21,18 @@ Item {
     id: container
 
     signal clicked
-
+    
     property string text
-
+    
     Rectangle {
-
         anchors.fill: parent
         y:parent.y
         width:parent.width
         height:parent.height
-
+        
         radius: 4
         border.color: "grey"
-
+        
         Text {
             id: button1
             color: "#000000"
@@ -41,21 +40,21 @@ Item {
             text: container.text; style: Text.Raised; styleColor: "black"
             font.pixelSize: 22
             font.family: "Tahoma"
-        }
-
+            }
+        
         MouseArea {
             id: mouseRegion
             anchors.fill: parent
             onClicked: { container.clicked(); }
-
+            
             onPressed: {
                 parent.color = "blue"
-            }
-
+                }
+            
             onReleased: {
                 parent.color = "white"
+                }
             }
         }
+    
     }
-
-}