diff --git a/src/QmlControls/PageView.qml b/src/QmlControls/PageView.qml index 3be0cfd1c9e48198cd2fb0b35915399c6d4497bc..bece2868151ac77ca3b4606f37eabc88d08d77d9 100644 --- a/src/QmlControls/PageView.qml +++ b/src/QmlControls/PageView.qml @@ -29,14 +29,16 @@ Rectangle { centeredLabel: true font.pointSize: ScreenTools.smallFontPointSize - Image { + QGCColoredImage { anchors.leftMargin: _margins anchors.left: parent.left anchors.verticalCenter: parent.verticalCenter source: "/res/gear-black.svg" mipmap: true - width: parent.height -(_margins * 2) - sourceSize.width: width + height: parent.height * 0.7 + width: height + sourceSize.height: height + color: qgcPal.text fillMode: Image.PreserveAspectFit visible: pageWidgetLoader.item ? (pageWidgetLoader.item.showSettingsIcon ? pageWidgetLoader.item.showSettingsIcon : false) : false