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. Assertion when scrolling qml Table View
Qt 6.11 is out! See what's new in the release blog

Assertion when scrolling qml Table View

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 230 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.
  • SheepS Offline
    SheepS Offline
    Sheep
    wrote on last edited by Sheep
    #1

    Greetings
    I have a problem.. i keep getting this assertion when scrolling the table view..i noticed they happed when i call TableView::forceLayout().
    The reason when i call the TableView::forceLayout().. when scrolling is that the table delegate`s heights depend on the their content..hence if i dont all that function, the delegate content keep overflowing the delegate items.GWriter_XYTBeu77Lg.png
    Although everything seems fine when i "ignore " the assertion...i cant rely on that ... any advise or workaround is welcome.

    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