Hi!!
I like to change opacity when the mouse is over rectangle. How can I do?
MouseArea {
onOpacityChanged:
rec1.opacity(0.4)
}
thanks!!
Hi!!
I like to change opacity when the mouse is over rectangle. How can I do?
MouseArea {
onOpacityChanged:
rec1.opacity(0.4)
}
thanks!!
javascript Code:
Rectangle { opacity: ma.containsMouse ? 0.4 : 1.0 MouseArea { id: ma anchors.fill: parent hoverEnabled: true } }To copy to clipboard, switch view to plain text mode
askatuak (18th September 2013)
Bookmarks