Unverified Commit 7ed94e64 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #6752 from DonLakeFlyer/SurveyEditor

Survey: Fix editor sizing
parents 1cd9d7aa 96c7ce48
...@@ -74,17 +74,18 @@ Rectangle { ...@@ -74,17 +74,18 @@ Rectangle {
} }
SectionHeader { SectionHeader {
id: corridorHeader id: transectsHeader
text: qsTr("Transects") text: qsTr("Transects")
} }
GridLayout { GridLayout {
id: transectsGrid
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
columnSpacing: _margin columnSpacing: _margin
rowSpacing: _margin rowSpacing: _margin
columns: 2 columns: 2
visible: corridorHeader.checked visible: transectsHeader.checked
QGCLabel { text: qsTr("Angle") } QGCLabel { text: qsTr("Angle") }
FactTextField { FactTextField {
...@@ -108,8 +109,8 @@ Rectangle { ...@@ -108,8 +109,8 @@ Rectangle {
QGCLabel { text: qsTr("Turnaround dist") } QGCLabel { text: qsTr("Turnaround dist") }
FactTextField { FactTextField {
fact: missionItem.turnAroundDistance fact: missionItem.turnAroundDistance
Layout.fillWidth: true Layout.fillWidth: true
} }
QGCButton { QGCButton {
...@@ -132,14 +133,14 @@ Rectangle { ...@@ -132,14 +133,14 @@ Rectangle {
} }
FactCheckBox { FactCheckBox {
text: qsTr("Refly at 90 degree offset") text: qsTr("Refly at 90 deg offset")
fact: missionItem.refly90Degrees fact: missionItem.refly90Degrees
enabled: !missionItem.followTerrain enabled: !missionItem.followTerrain
Layout.columnSpan: 2 Layout.columnSpan: 2
} }
FactCheckBox { FactCheckBox {
text: qsTr("Take images in turnarounds") text: qsTr("Images in turnarounds")
fact: missionItem.cameraTriggerInTurnAround fact: missionItem.cameraTriggerInTurnAround
enabled: missionItem.hoverAndCaptureAllowed ? !missionItem.hoverAndCapture.rawValue : true enabled: missionItem.hoverAndCaptureAllowed ? !missionItem.hoverAndCapture.rawValue : true
Layout.columnSpan: 2 Layout.columnSpan: 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment