Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

ListView: elements dragged out of bounds



  • 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 )!



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


Log in to reply