Convert TextSwitch to a platform specific component and rename it to CameraTextSwitch
[harmattan/cameraplus] / qml / CameraToolBarTools.qml
index f6437bb..d0bfb99 100644 (file)
@@ -35,4 +35,10 @@ Row {
     property real childrenWidth: Layout.calculateChildrenWidth(children)
     property int childrenLen: Layout.countVisibleChildren(children)
     spacing: (width - childrenWidth) / (childrenLen - 1)
+
+    opacity: visible ? 1.0 : 0
+
+    Behavior on opacity {
+        NumberAnimation { duration: 100 }
+    }
 }