Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. ListView Header flickers during scrolling
QtWS25 Last Chance

ListView Header flickers during scrolling

Scheduled Pinned Locked Moved Solved QML and Qt Quick
qmllistviewscroll bar
1 Posts 1 Posters 555 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.
  • A Offline
    A Offline
    alexmarian1990
    wrote on last edited by alexmarian1990
    #1

    Hello,

    I have a ListView with highlightRangeMode set to StrictlyEnforceRange and preferred highlight begin and end set to header height and 2 * header height. My list is updated from c++ every 3 seconds. I have implemented my own scrollbar because for some reason the scrollbar from QML doesn't work fine, meaning the curentIndex doesn't change when I drag the bar (I suspect because it doesn't modify the contentY of the listView). In my scroll bar I change the contentY and the list moves ok when I drag the bar but I have a big problem: the header flickers, meaning it changes his y position although I set the z to 2 and enable ListView. OverlayHeader. Is anything that I can do to stop the flickering or is a bug from Qt?

    1 Reply Last reply
    0

    • Login

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