Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Unsolved flickable item comming out of boundry

    QML and Qt Quick
    2
    2
    54
    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.
    • D
      Dinesh Lama last edited by

      I am using flickabel to place the image inside it which can be zoomed and draged. But when i'm zooming the image it is comming out of the boundry of the item. I'm using pageloader to load this area.
      alt text

      1 Reply Last reply Reply Quote 0
      • Name already in use
        Name already in use last edited by Name already in use

        Did you set the clip property of flickable to true?
        https://doc.qt.io/qt-5/qml-qtquick-item.html#clip-prop

        Flickable {
            clip: true
            
            Image  {
            }
        }
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post