CheckBox issue (strange click behavior)



  • Hi!

    I am creating UI using Qt Quick, and more specifically creating ListView containing checkbox.
    In the delegate, the checkbox is declared :

     CheckBox {
                            id: validArea
                            anchors { left: nameArea.right; leftMargin: 5; verticalCenter: parent.verticalCenter; }
                            height: parent.height/32; checked: valid
                        }
    

    On execution, it's very hard to click the checkbox (it works one time on nine clicks). Sometimes, it's impossible to interact with it.

    Is it due to the ListView? That ListView is in a SwipeView : I removed that last one and the behavior is the same.

    Thank you



  • I found the problem : the height property was too small...


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.