Make button background visible on click
-
wrote on 12 Dec 2014, 14:06 last edited by
Hi,
how can I make the button background visible if the button is clicked and if the button is clicked agin or another button is clicked the button background is invisible? Like the behavior of a RadioButton...
!http://fs1.directupload.net/images/141212/vt29q7wg.png(Button Background invisible)!
!http://fs1.directupload.net/images/141212/hcb8gplt.png(Button clicked and background is visible)!
-
wrote on 12 Dec 2014, 16:57 last edited by
You might post the qml you've tried. A more specific question is easier to answer.
-
wrote on 12 Dec 2014, 22:16 last edited by
You could put the image in a rectangle and change the rectangle background color or you could use two images and just swap them. There would be lots of ways. Without more information it's hard to know what problem you're having and what you've already tried.
1/3