diff --git a/custom-example/res/CustomCameraControl.qml b/custom-example/res/CustomCameraControl.qml index 9c6324ec33dd067aea0dc3ee6ed0d97534206c01..3a9350a0586685c299d89eeb65035b3ca9b7a40a 100644 --- a/custom-example/res/CustomCameraControl.qml +++ b/custom-example/res/CustomCameraControl.qml @@ -379,22 +379,20 @@ Item { anchors.horizontalCenter: parent.horizontalCenter } } - /* //----------------------------------------------------------------- //-- Recording Time / Images Captured - CustomLabel { + QGCLabel { text: (_cameraVideoMode && _camera.videoStatus === QGCCameraControl.VIDEO_CAPTURE_STATUS_RUNNING) ? _camera.recordTimeStr : "00:00:00" visible: _cameraVideoMode - pointSize: ScreenTools.smallFontPointSize + font.pointSize: ScreenTools.smallFontPointSize anchors.horizontalCenter: parent.horizontalCenter } - CustomLabel { + QGCLabel { text: activeVehicle && _cameraPhotoMode ? ('00000' + activeVehicle.cameraTriggerPoints.count).slice(-5) : "00000" visible: _cameraPhotoMode - pointSize: ScreenTools.smallFontPointSize + font.pointSize: ScreenTools.smallFontPointSize anchors.horizontalCenter: parent.horizontalCenter } - */ Item { height: 1 width: 1