Browse Source

Decreasing the opacity a bit.

I've also changed it so it reacts to hover events (changing the opacity in the process).
QGC4.4
dogmaphobic 9 years ago
parent
commit
be80c191a6
  1. 9
      src/FlightMap/Widgets/QGCInstrumentWidget.qml

9
src/FlightMap/Widgets/QGCInstrumentWidget.qml

@ -78,12 +78,21 @@ Rectangle { @@ -78,12 +78,21 @@ Rectangle {
}
Image {
id: gearThingy
anchors.bottom: attitude.bottom
anchors.right: attitude.right
source: "/res/gear.svg"
mipmap: true
opacity: 0.5
width: attitude.width * 0.15
fillMode: Image.PreserveAspectFit
MouseArea {
anchors.fill: parent
hoverEnabled: true
onEntered: gearThingy.opacity = 0.85
onExited: gearThingy.opacity = 0.5
onClicked: _valuesWidget.showPicker()
}
}
Rectangle {

Loading…
Cancel
Save