How to manually activate CheckBox blue focus indicator ?
Solved
QML and Qt Quick
-
Hello,
Working with CheckBox, I am trying to manually activate the blue focus indicator, this one :
I see this indicator by pressing tab, but when setting focus property to true this indicator doesn't appear.
I tried this :
Window { width: 640 height: 480 visible: true Column { CheckBox { id: chekbox } Button { onClicked: { chekbox.focus = true } } } }
By pressing the button I correctly having the focus on the checkbox (when I press space the checkbox toggle), but the blue indicator doesn't appear.