Browse Source

Fix typo

QGC4.4
Don Gagne 10 years ago
parent
commit
f89fe8e3a5
  1. 4
      src/FlightDisplay/FlightDisplayView.qml
  2. 2
      src/VehicleSetup/SetupView.qml
  3. 4
      src/ui/MainWindow.qml

4
src/FlightDisplay/FlightDisplayView.qml

@ -43,7 +43,7 @@ Item { @@ -43,7 +43,7 @@ Item {
QGCPalette { id: qgcPal; colorGroupEnabled: enabled }
property real avaiableHeight: parent.height
property real availableHeight: parent.height
property bool interactive: true
readonly property bool isBackgroundDark: _mainIsMap ? (_flightMap ? _flightMap.isSatelliteMap : true) : true
@ -213,7 +213,7 @@ Item { @@ -213,7 +213,7 @@ Item {
anchors.right: parent.right
anchors.left: parent.left
anchors.bottom: parent.bottom
height: avaiableHeight
height: availableHeight
}
}

2
src/VehicleSetup/SetupView.qml

@ -205,7 +205,7 @@ Rectangle { @@ -205,7 +205,7 @@ Rectangle {
Rectangle {
//-- Limit height to available height (below tool bar)
anchors.topMargin: _margin
height: mainWindow.avaiableHeight
height: mainWindow.availableHeight
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.right: parent.right

4
src/ui/MainWindow.qml

@ -44,7 +44,7 @@ Item { @@ -44,7 +44,7 @@ Item {
property int tbCellHeight: tbHeight * 0.75
property real tbSpacing: ScreenTools.isMobile ? width * 0.00824 : 9.54
property real tbButtonWidth: tbCellHeight * 1.3
property real avaiableHeight: height - tbHeight
property real availableHeight: height - tbHeight
property real menuButtonWidth: (tbButtonWidth * 2) + (tbSpacing * 4) + 1
property var defaultPosition: QtPositioning.coordinate(37.803784, -122.462276)
@ -157,7 +157,7 @@ Item { @@ -157,7 +157,7 @@ Item {
FlightDisplayView {
id: flightView
anchors.fill: parent
avaiableHeight: mainWindow.avaiableHeight
availableHeight: mainWindow.availableHeight
visible: true
Component.onCompleted: {
positionSource.start()

Loading…
Cancel
Save