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
Forum Updated to NodeBB v4.3 + New Features

Assertion when scrolling qml Table View

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 149 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.
  • S Offline
    S Offline
    Sheep
    wrote on 27 May 2023, 18:12 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

    1/1

    27 May 2023, 18:12

    • Login

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