Commit d313eefa authored by Lorenz Meier's avatar Lorenz Meier

Fix flight display: Make button positions stable, fix RTL text

parent 4cfd5a1d
...@@ -416,7 +416,7 @@ Item { ...@@ -416,7 +416,7 @@ Item {
guidedModeConfirm.confirmText = qsTr("land") guidedModeConfirm.confirmText = qsTr("land")
break; break;
case confirmHome: case confirmHome:
guidedModeConfirm.confirmText = qsTr("return to launch") guidedModeConfirm.confirmText = qsTr("return to land")
break; break;
case confirmChangeAlt: case confirmChangeAlt:
altitudeSlider.visible = true altitudeSlider.visible = true
...@@ -441,6 +441,13 @@ Item { ...@@ -441,6 +441,13 @@ Item {
anchors.left: parent.left anchors.left: parent.left
spacing: _margins spacing: _margins
QGCLabel {
anchors.horizontalCenter: parent.horizontalCenter
color: qgcPal.button
text: "Click in map to move vehicle"
visible: _activeVehicle && _activeVehicle.guidedMode && _activeVehicle.flying
}
Row { Row {
spacing: _margins spacing: _margins
...@@ -477,13 +484,6 @@ Item { ...@@ -477,13 +484,6 @@ Item {
onClicked: _guidedModeBar.confirmAction(_guidedModeBar.confirmChangeAlt) onClicked: _guidedModeBar.confirmAction(_guidedModeBar.confirmChangeAlt)
} }
} // Row } // Row
QGCLabel {
anchors.horizontalCenter: parent.horizontalCenter
color: qgcPal.button
text: "Click in map to move vehicle"
visible: _activeVehicle && _activeVehicle.guidedMode && _activeVehicle.flying
}
} // Column } // Column
} // Rectangle - Guided mode buttons } // Rectangle - Guided mode buttons
......
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