Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. CheckBox issue (strange click behavior)
Forum Updated to NodeBB v4.3 + New Features

CheckBox issue (strange click behavior)

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 466 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • RomanoFXR Offline
    RomanoFXR Offline
    RomanoFX
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • RomanoFXR Offline
      RomanoFXR Offline
      RomanoFX
      wrote on last edited by
      #2

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

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved