diff --git a/ground/openpilotgcs/share/openpilotgcs/pfd/default/Info.qml b/ground/openpilotgcs/share/openpilotgcs/pfd/default/Info.qml index 346ce891b..d7cafba26 100644 --- a/ground/openpilotgcs/share/openpilotgcs/pfd/default/Info.qml +++ b/ground/openpilotgcs/share/openpilotgcs/pfd/default/Info.qml @@ -9,7 +9,7 @@ Item { sceneSize: info.sceneSize elementName: "info-bg" width: parent.width - anchors.fill: parent.top + //anchors.top: parent.top } SvgElementImage { @@ -154,6 +154,7 @@ Item { property int minThrottleNumber : index+1 elementName: "eng" + minThrottleNumber sceneSize: info.sceneSize + visible: throttleNumberBar.throttleNumber >= minThrottleNumber } } @@ -186,7 +187,6 @@ Item { id: info_border elementName: "info-border" sceneSize: info.sceneSize - width: Math.floor(parent.width * 1.01) - anchors.fill: parent.top + width: Math.floor(parent.width * 1.009) } } diff --git a/ground/openpilotgcs/share/openpilotgcs/pfd/default/Pfd.qml b/ground/openpilotgcs/share/openpilotgcs/pfd/default/Pfd.qml index 46eb673b6..851070e5f 100644 --- a/ground/openpilotgcs/share/openpilotgcs/pfd/default/Pfd.qml +++ b/ground/openpilotgcs/share/openpilotgcs/pfd/default/Pfd.qml @@ -11,7 +11,7 @@ Rectangle { sceneSize: Qt.size(width, height) Rectangle { - width: Math.floor(parent.paintedHeight * 1.32) + width: Math.floor(parent.paintedHeight * 1.319) height: Math.floor(parent.paintedHeight - parent.paintedHeight * 0.008) color: "transparent" @@ -25,7 +25,7 @@ Rectangle { id: sceneItem - width: Math.floor((parent.paintedHeight * 1.32) - (parent.paintedHeight * 0.015)) + width: Math.floor((parent.paintedHeight * 1.32) - (parent.paintedHeight * 0.013)) height: Math.floor(parent.paintedHeight - parent.paintedHeight * 0.02) property variant viewportSize : Qt.size(width, height) diff --git a/ground/openpilotgcs/share/openpilotgcs/pfd/default/Warnings.qml b/ground/openpilotgcs/share/openpilotgcs/pfd/default/Warnings.qml index 50ac85398..8e2fc89d1 100644 --- a/ground/openpilotgcs/share/openpilotgcs/pfd/default/Warnings.qml +++ b/ground/openpilotgcs/share/openpilotgcs/pfd/default/Warnings.qml @@ -10,8 +10,8 @@ Item { id: warning_bg elementName: "warnings-bg" sceneSize: warnings.sceneSize - width: parent.width + 4 - anchors.fill: parent.bottom + width: background.width + anchors.bottom: parent.bottom } SvgElementPositionItem { @@ -103,7 +103,7 @@ Item { id: warning_battery elementName: "warning-battery" sceneSize: warnings.sceneSize - + anchors.right: parent.right visible: SystemAlarms.Alarm_Battery > 1 } @@ -111,7 +111,6 @@ Item { id: warning_attitude elementName: "warning-attitude" sceneSize: warnings.sceneSize - visible: SystemAlarms.Alarm_Attitude > 1 } }