Commit be80c191 authored by dogmaphobic's avatar dogmaphobic

Decreasing the opacity a bit.

I've also changed it so it reacts to hover events (changing the opacity in the process).
parent 6a50472b
...@@ -78,12 +78,21 @@ Rectangle { ...@@ -78,12 +78,21 @@ Rectangle {
} }
Image { Image {
id: gearThingy
anchors.bottom: attitude.bottom anchors.bottom: attitude.bottom
anchors.right: attitude.right anchors.right: attitude.right
source: "/res/gear.svg" source: "/res/gear.svg"
mipmap: true mipmap: true
opacity: 0.5
width: attitude.width * 0.15 width: attitude.width * 0.15
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
MouseArea {
anchors.fill: parent
hoverEnabled: true
onEntered: gearThingy.opacity = 0.85
onExited: gearThingy.opacity = 0.5
onClicked: _valuesWidget.showPicker()
}
} }
Rectangle { Rectangle {
......
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