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. How to get correct contentHeight from ListView
Forum Updated to NodeBB v4.3 + New Features

How to get correct contentHeight from ListView

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 754 Views 1 Watching
  • 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.
  • shavS Offline
    shavS Offline
    shav
    wrote on last edited by
    #1

    Hi everyone,

    I've problem with contentHeight in ListView if my delegate Item has a dynamic height. When I scrolling up or down the content height changing. How I can get correct height of contentItem?

    Mac OS and iOS Developer

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tilsitt
      wrote on last edited by
      #2

      Hi,

      It would greatly help to see some code.

      1 Reply Last reply
      0
      • shavS Offline
        shavS Offline
        shav
        wrote on last edited by
        #3

        Hi,

        Thanks for reply.
        I can't add code to my post (is too long) so I've shared the code by html link. My code you can fiend "here":http://dshav.com/pub_pictures/code.html.

        Mac OS and iOS Developer

        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