From f804388544ba03991105d8d321da246e9d5ca0b3 Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Sun, 28 May 2017 14:18:23 -0400 Subject: [PATCH] Adjusting QGC location icon. --- resources/QGCLogoFull.svg | 35 +++++++++++++++++++---------------- src/FlightMap/FlightMap.qml | 10 ++++++---- 2 files changed, 25 insertions(+), 20 deletions(-) diff --git a/resources/QGCLogoFull.svg b/resources/QGCLogoFull.svg index 3d7fdb67e..ebfb890a6 100644 --- a/resources/QGCLogoFull.svg +++ b/resources/QGCLogoFull.svg @@ -1,24 +1,27 @@ + width="72px" height="72px" viewBox="0 0 72 72" style="enable-background:new 0 0 72 72;" xml:space="preserve"> - - - - - + + + + + diff --git a/src/FlightMap/FlightMap.qml b/src/FlightMap/FlightMap.qml index 8914e6146..883748b7e 100644 --- a/src/FlightMap/FlightMap.qml +++ b/src/FlightMap/FlightMap.qml @@ -123,10 +123,12 @@ Map { coordinate: gcsPosition sourceItem: Image { - source: "/res/QGCLogoFull" - smooth: true - fillMode: Image.PreserveAspectFit - height: ScreenTools.defaultFontPixelHeight * 1.5 + source: "/res/QGCLogoFull" + mipmap: true + antialiasing: true + fillMode: Image.PreserveAspectFit + height: ScreenTools.defaultFontPixelHeight * 1.75 + sourceSize.height: height } } } // Map -- 2.22.0