diff --git a/custom-example/res/MainToolbar/CustomMainToolBarIndicators.qml b/custom-example/res/MainToolbar/CustomMainToolBarIndicators.qml index c07ee69252e980dc10b9cca83ca43adf99b9db7a..8b956355d1f1a12fb800f4ed5bcf72a7431deefd 100644 --- a/custom-example/res/MainToolbar/CustomMainToolBarIndicators.qml +++ b/custom-example/res/MainToolbar/CustomMainToolBarIndicators.qml @@ -34,7 +34,6 @@ Item { anchors.left: parent.left QGCColoredImage { id: menuEdge - visible: !QGroundControl.supportsPairing || !QGroundControl.settingsManager.appSettings.usePairing.rawValue anchors.verticalCenter: parent.verticalCenter height: ScreenTools.defaultFontPixelHeight width: height @@ -44,14 +43,23 @@ Item { color: qgcPal.buttonText } QGCLabel { - visible: menuEdge.visible anchors.verticalCenter: parent.verticalCenter text: qsTr("Waiting for a vehicle") font.pointSize: ScreenTools.mediumFontPointSize font.family: ScreenTools.demiboldFontFamily } + } + //------------------------------------------------------------------------- + //-- Pairing Indicator (not connected) + Row { + id: pairingRow + anchors.top: parent.top + anchors.bottom: parent.bottom + anchors.right: parent.right + anchors.rightMargin: ScreenTools.defaultFontPixelWidth * 2 + spacing: ScreenTools.defaultFontPixelWidth * 2 + visible: !indicatorRow.visible Loader { - visible: !menuEdge.visible anchors.top: parent.top anchors.bottom: parent.bottom anchors.margins: _indicatorMargins