Browse Source

Palette based coloring

QGC4.4
DonLakeFlyer 6 years ago
parent
commit
4cfe504284
  1. 8
      src/QmlControls/PageView.qml

8
src/QmlControls/PageView.qml

@ -29,14 +29,16 @@ Rectangle { @@ -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

Loading…
Cancel
Save