From acb29c1e03cc79f8e27eb8f2b11210ca77ffbd8f Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Sun, 29 Apr 2018 16:55:55 -0700 Subject: [PATCH] Slight ordering adjust to values --- src/PlanView/CameraSection.qml | 40 +++++++++++++++++----------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/PlanView/CameraSection.qml b/src/PlanView/CameraSection.qml index b91cd52b5..0a01e62e0 100644 --- a/src/PlanView/CameraSection.qml +++ b/src/PlanView/CameraSection.qml @@ -74,6 +74,26 @@ Column { } } + RowLayout { + anchors.left: parent.left + anchors.right: parent.right + spacing: ScreenTools.defaultFontPixelWidth + visible: _camera.cameraModeSupported + + QGCCheckBox { + id: modeCheckBox + text: qsTr("Mode") + checked: _camera.specifyCameraMode + onClicked: _camera.specifyCameraMode = checked + } + FactComboBox { + fact: _camera.cameraMode + indexModel: false + enabled: modeCheckBox.checked + Layout.fillWidth: true + } + } + GridLayout { anchors.left: parent.left anchors.right: parent.right @@ -104,25 +124,5 @@ Column { enabled: gimbalCheckBox.checked } } - - RowLayout { - anchors.left: parent.left - anchors.right: parent.right - spacing: ScreenTools.defaultFontPixelWidth - visible: _camera.cameraModeSupported - - QGCCheckBox { - id: modeCheckBox - text: qsTr("Mode") - checked: _camera.specifyCameraMode - onClicked: _camera.specifyCameraMode = checked - } - FactComboBox { - fact: _camera.cameraMode - indexModel: false - enabled: modeCheckBox.checked - Layout.fillWidth: true - } - } } } -- 2.22.0