1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
import QtQuick 2.14 Item { id: root width: 500 height: 500 Flickable { anchors.centerIn: parent width: 100 height: 100 clip: true contentWidth: content.width contentHeight: content.height Rectangle { id: content width: 320 height: width color: "#41cd52" radius: width/2 } } }