Set focus to ContinuousNormal always
[harmattan/cameraplus] / qml / VideoEvCompButton.qml
index d2ab04e..922cef8 100644 (file)
@@ -26,7 +26,7 @@ import QtCamera 1.0
 CameraToolIcon {
     id: button
 
-    iconId: settings.videoEvComp == 0 ? cameraTheme.cameraManualExposureIconId : ""
+    iconSource: settings.videoEvComp == 0 ? cameraTheme.cameraManualExposureIconId : ""
 
     CameraLabel {
         anchors.fill: parent
@@ -44,7 +44,6 @@ CameraToolIcon {
 
         CameraSlider {
             id: slider
-            width: 500
             orientation: Qt.Horizontal
             minimumValue: cam ? cam.evComp.minimum : 0
             maximumValue: cam ? cam.evComp.maximum : 0
@@ -54,5 +53,10 @@ CameraToolIcon {
             onValueChanged: settings.videoEvComp = value.toFixed(1)
             Component.onCompleted: { slider.value = settings.videoEvComp.toFixed(1) }
         }
+
+        CameraToolIcon {
+            iconSource: cameraTheme.resetIconId
+            onClicked: slider.value = 0
+        }
     }
 }