diff options
Diffstat (limited to 'tests/auto/snippets/data/tumbler/qtlabscontrols-tumbler-delegate.qml')
-rw-r--r-- | tests/auto/snippets/data/tumbler/qtlabscontrols-tumbler-delegate.qml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/snippets/data/tumbler/qtlabscontrols-tumbler-delegate.qml b/tests/auto/snippets/data/tumbler/qtlabscontrols-tumbler-delegate.qml new file mode 100644 index 00000000..593e7302 --- /dev/null +++ b/tests/auto/snippets/data/tumbler/qtlabscontrols-tumbler-delegate.qml @@ -0,0 +1,20 @@ +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Tumbler { + id: tumbler + model: 5 + + Column { + Repeater { + model: 3 + + Rectangle { + width: tumbler.contentItem.width + height: tumbler.contentItem.height / 3 + color: 'transparent' + border.color: 'red' + } + } + } +} |