From 4245d687005dd302ac84cd24a147b94a6bbc3e6c Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Sun, 28 Apr 2019 22:30:07 -0400 Subject: [PATCH] New unknown airframe icon Fix proper SVG rendering --- .../APM/APMAirframeComponent.qml | 3 +- .../Common/Images/AirframeUnknown.svg | 56 ++++++++++--------- 2 files changed, 33 insertions(+), 26 deletions(-) diff --git a/src/AutoPilotPlugins/APM/APMAirframeComponent.qml b/src/AutoPilotPlugins/APM/APMAirframeComponent.qml index 6547c190d..90b125b0c 100644 --- a/src/AutoPilotPlugins/APM/APMAirframeComponent.qml +++ b/src/AutoPilotPlugins/APM/APMAirframeComponent.qml @@ -134,7 +134,8 @@ SetupPage { Layout.fillHeight: true fillMode: Image.PreserveAspectFit smooth: true - mipmap: true + antialiasing: true + sourceSize.width: width source: object.imageResource } diff --git a/src/AutoPilotPlugins/Common/Images/AirframeUnknown.svg b/src/AutoPilotPlugins/Common/Images/AirframeUnknown.svg index 1455e335d..f6683764a 100644 --- a/src/AutoPilotPlugins/Common/Images/AirframeUnknown.svg +++ b/src/AutoPilotPlugins/Common/Images/AirframeUnknown.svg @@ -1,36 +1,42 @@ + viewBox="0 0 288 288" style="enable-background:new 0 0 288 288;" xml:space="preserve"> AirframeUnknown - - - + + + + + + + + + + + - - - - - - + + - - -- 2.22.0