Important: Please read the Qt Code of Conduct -

SwipeView shows neighbor pages even if they are not current page

  • Hello. I am trying to use SwipeView as area for image previews, everything works as expected, but SwipeView shows neighbor page even if that page is not active page, here is screenshot. So, code for SwipeView:

        SwipeView {
            background: Rectangle {
                anchors.fill: parent
                color: "lightsteelblue"
            id: previews
  ; anchors.left: parent.left;
            width: 130
            height: 180
            Repeater {
                model: imgModel
                Image {
                    fillMode: Image.PreserveAspectFit
                    source: src

    As far as you can see, it is limited to 130x180. Anyone know how to fix this?

  • SwipeView does not clip by default. You can set clip: true in cases when it is needed.

  • @jpnurmi, thanks a lot, already found this property. But had limit in 300 seconds to reply. Seems like u are guru of QML :)

Log in to reply