Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved Changing delegate's "y" position in ListView

    QML and Qt Quick
    2
    4
    438
    Loading More Posts
    • 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
      Amir Afendin last edited by Amir Afendin

      I can change x position and it works fine, but when i change y it doesn't work. Is it possible at all or are there other ways to change y position of delegate?

      1 Reply Last reply Reply Quote 0
      • A
        Amir Afendin last edited by Amir Afendin

        Solved with "NumberAnimation on y"

        1 Reply Last reply Reply Quote 0
        • jpnurmi
          jpnurmi last edited by

          A vertical ListView manages the y-coordinates of its items. What are you trying to achieve? There are add/move/remove/displaced/populate etc. transitions for animating item positions.

          A 1 Reply Last reply Reply Quote 1
          • A
            Amir Afendin @jpnurmi last edited by Amir Afendin

            @jpnurmi I don't need ListView to manage delegate positions, i have c++ backend model with role that returns number, and that number i use in qml side to decide my coordinates. I know sounds a bit crazy but this is kind of special case).

            1 Reply Last reply Reply Quote 0
            • First post
              Last post