Flickable QML Gridview: Transmit Release Event to items
maxwell31 last edited by
I have a flickable
GridViewwhich displays 6 buttons on the screen, and I have 24 buttons which I can reach via flicking the
GridViewsideways. If I press a button, its border changes color, and after a release it changes back to the original color.
My problem is the following: If I press on a button and start moving sideways, flicking the
GridViewgets activated (which is what I want). However, if I release the button, the release event is not captured by the button anymore and thus the border color does not go back to the original state. How can I get the release event to my button?
Diracsbracket last edited by
Maybe you could change the border using the
Ovidiu Vasilca last edited by
You can give the color to the button like:
borderColor: button.pressed ? "red" : "blue" (for example)