diff --git a/src/FlightDisplay/FlightDisplayView.qml b/src/FlightDisplay/FlightDisplayView.qml index 372c1028004ea4514b2366c1722c259923506321..3735d29bec2773d624adbb31e3cf7d57529a4831 100644 --- a/src/FlightDisplay/FlightDisplayView.qml +++ b/src/FlightDisplay/FlightDisplayView.qml @@ -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 { anchors.right: parent.right anchors.left: parent.left anchors.bottom: parent.bottom - height: avaiableHeight + height: availableHeight } } diff --git a/src/VehicleSetup/SetupView.qml b/src/VehicleSetup/SetupView.qml index a39bd0f0efd33e969ba4317d912bad9c54abd4c4..2b1316a8c22800eccc49c15791cbb4b0ca59bdf7 100644 --- a/src/VehicleSetup/SetupView.qml +++ b/src/VehicleSetup/SetupView.qml @@ -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 diff --git a/src/ui/MainWindow.qml b/src/ui/MainWindow.qml index d145e3d466aaedde17fa9f798e918d1b551e39f0..103ed6069b04a5688af73718a5c4d37ac400cd23 100644 --- a/src/ui/MainWindow.qml +++ b/src/ui/MainWindow.qml @@ -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 { FlightDisplayView { id: flightView anchors.fill: parent - avaiableHeight: mainWindow.avaiableHeight + availableHeight: mainWindow.availableHeight visible: true Component.onCompleted: { positionSource.start()