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. Changing delegate's "y" position in ListView

Changing delegate's "y" position in ListView

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 2 Posters 987 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.
  • A Offline
    A Offline
    Amir Afendin
    wrote on last edited by Amir Afendin
    #1

    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
    0
    • A Offline
      A Offline
      Amir Afendin
      wrote on last edited by Amir Afendin
      #2

      Solved with "NumberAnimation on y"

      1 Reply Last reply
      0
      • jpnurmiJ Offline
        jpnurmiJ Offline
        jpnurmi
        wrote on last edited by
        #3

        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
        1
        • jpnurmiJ jpnurmi

          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 Offline
          A Offline
          Amir Afendin
          wrote on last edited by Amir Afendin
          #4

          @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
          0

          • Login

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