Browse Source

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

QGC4.4
Lorenz Meier 9 years ago
parent
commit
d313eefa99
  1. 16
      src/FlightDisplay/FlightDisplayViewWidgets.qml

16
src/FlightDisplay/FlightDisplayViewWidgets.qml

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

Loading…
Cancel
Save