Unverified Commit bffdc8d0 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #7988 from DonLakeFlyer/GearIcon

Instrument PageView: Palette based coloring for gear icon
parents c21c5c24 4cfe5042
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment