Commit f89fe8e3 authored by Don Gagne's avatar Don Gagne

Fix typo

parent 57cdf65b
...@@ -43,7 +43,7 @@ Item { ...@@ -43,7 +43,7 @@ Item {
QGCPalette { id: qgcPal; colorGroupEnabled: enabled } QGCPalette { id: qgcPal; colorGroupEnabled: enabled }
property real avaiableHeight: parent.height property real availableHeight: parent.height
property bool interactive: true property bool interactive: true
readonly property bool isBackgroundDark: _mainIsMap ? (_flightMap ? _flightMap.isSatelliteMap : true) : 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.right: parent.right
anchors.left: parent.left anchors.left: parent.left
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
height: avaiableHeight height: availableHeight
} }
} }
...@@ -205,7 +205,7 @@ Rectangle { ...@@ -205,7 +205,7 @@ Rectangle {
Rectangle { Rectangle {
//-- Limit height to available height (below tool bar) //-- Limit height to available height (below tool bar)
anchors.topMargin: _margin anchors.topMargin: _margin
height: mainWindow.avaiableHeight height: mainWindow.availableHeight
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
......
...@@ -44,7 +44,7 @@ Item { ...@@ -44,7 +44,7 @@ Item {
property int tbCellHeight: tbHeight * 0.75 property int tbCellHeight: tbHeight * 0.75
property real tbSpacing: ScreenTools.isMobile ? width * 0.00824 : 9.54 property real tbSpacing: ScreenTools.isMobile ? width * 0.00824 : 9.54
property real tbButtonWidth: tbCellHeight * 1.3 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 real menuButtonWidth: (tbButtonWidth * 2) + (tbSpacing * 4) + 1
property var defaultPosition: QtPositioning.coordinate(37.803784, -122.462276) property var defaultPosition: QtPositioning.coordinate(37.803784, -122.462276)
...@@ -157,7 +157,7 @@ Item { ...@@ -157,7 +157,7 @@ Item {
FlightDisplayView { FlightDisplayView {
id: flightView id: flightView
anchors.fill: parent anchors.fill: parent
avaiableHeight: mainWindow.avaiableHeight availableHeight: mainWindow.availableHeight
visible: true visible: true
Component.onCompleted: { Component.onCompleted: {
positionSource.start() positionSource.start()
......
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