Initial ui reimplementation. Still in its early phase.
[harmattan/cameraplus] / qml / TextSwitch.qml
index 3c5b89e..2744d17 100644 (file)
@@ -24,24 +24,24 @@ import QtQuick 1.1
 import com.nokia.meego 1.1
 
 Item {
-        property alias text: label.text
-        property alias checked: switchComponent.checked
-        width: parent.width
-        height: switchComponent.height
+    property alias text: label.text
+    property alias checked: switchComponent.checked
+    width: parent.width
+    height: switchComponent.height
 
-        Text {
-                property Style platformStyle: LabelStyle {}
+    Text {
+        property Style platformStyle: LabelStyle {}
 
-                id: label
-                anchors.left: parent.left
-                font.family: platformStyle.fontFamily
-                font.pixelSize: platformStyle.fontPixelSize
-                color: platformStyle.textColor
-                wrapMode: Text.Wrap
-        }
+        id: label
+        anchors.left: parent.left
+        font.family: platformStyle.fontFamily
+        font.pixelSize: platformStyle.fontPixelSize
+        color: platformStyle.textColor
+        wrapMode: Text.Wrap
+    }
 
-        Switch {
-                id: switchComponent
-                anchors.right: parent.right
-        }
+    Switch {
+        id: switchComponent
+        anchors.right: parent.right
+    }
 }