diff --git a/custom-example/qgcresources.qrc b/custom-example/qgcresources.qrc index 00ee60e6ca3..474fb189766 100644 --- a/custom-example/qgcresources.qrc +++ b/custom-example/qgcresources.qrc @@ -45,6 +45,7 @@ ../resources/SplashScreen.png ../resources/Stop.svg ../resources/takeoff.svg + resources/terrain.svg ../resources/TrashDelete.svg ../resources/waves.svg ../resources/wind-guru.svg diff --git a/qgcresources.qrc b/qgcresources.qrc index 720b81629fe..509510ef951 100644 --- a/qgcresources.qrc +++ b/qgcresources.qrc @@ -46,6 +46,7 @@ resources/SplashScreen.png resources/Stop.svg resources/takeoff.svg + resources/terrain.svg resources/TrashDelete.svg resources/waves.svg resources/wind-guru.svg diff --git a/resources/terrain.svg b/resources/terrain.svg new file mode 100644 index 00000000000..3c0acd24bc7 --- /dev/null +++ b/resources/terrain.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/FlightMap/MapScale.qml b/src/FlightMap/MapScale.qml index 1b837797f05..be3123666a1 100644 --- a/src/FlightMap/MapScale.qml +++ b/src/FlightMap/MapScale.qml @@ -190,7 +190,8 @@ Item { anchors.bottom: rightEnd.bottom anchors.leftMargin: buttonsOnLeft ? 0 : ScreenTools.defaultFontPixelWidth / 2 anchors.left: buttonsOnLeft ? parent.left : rightEnd.right - text: qsTr("T") + leftPadding: topPadding + iconSource: "/res/terrain.svg" width: height opacity: 0.75 visible: terrainButtonVisible