From f89fe8e3a5ddf7fd8a8e9a2bad24ef1cd65a5707 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sun, 22 Nov 2015 11:14:46 -0800 Subject: [PATCH] Fix typo --- src/FlightDisplay/FlightDisplayView.qml | 4 ++-- src/VehicleSetup/SetupView.qml | 2 +- src/ui/MainWindow.qml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/FlightDisplay/FlightDisplayView.qml b/src/FlightDisplay/FlightDisplayView.qml index 372c10280..3735d29be 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 a39bd0f0e..2b1316a8c 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 d145e3d46..103ed6069 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() -- 2.22.0