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. ListView: elements dragged out of bounds
Forum Updated to NodeBB v4.3 + New Features

ListView: elements dragged out of bounds

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 3.6k 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.
  • O Offline
    O Offline
    obsessed
    wrote on last edited by
    #1

    When ListView's elements are dragged, they stays visible even outside of ListView area.

    To reproduce, just modify 'rssnews' example a bit:

    @
    Item {
    id: testItem;
    anchors { top: parent.top; left: parent.left }
    height: 100; width: 220
    }
    Row {
    anchors.top: testItem.bottom
    Rectangle {
    ListView {
    ...
    }
    ...
    }
    }
    @
    and try to drug elements of ListView upward.

    How to make elements visible only inside of ListView's area?

    !http://img405.imageshack.us/img405/5363/outoflimits.png (problem reproduction on 'rssnews' exapmle )!

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2

      clip property will work it out. Look into Assistant for more info

      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