Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

StackView & Transitions

$
0
0
import QtQuick 2.2 import QtQuick.Window 2.1 import QtQuick.Controls 1.1   Window {     id: window       visible: true     width: 360     height: 260         ListView {         id: view         model: 1000         populate: Transition {             SpringAnimation { spring: 3; damping: 0.2 }         }         delegate: Text {             text: modelData         }     }       StackView {         id: stackView         anchors.fill: parent         initialItem: view     } } without Transition ListView is filled properly, and with it – the first of items huddling together [edit: Added missing coding tags @ SGaist]

Viewing all articles
Browse latest Browse all 4972

Trending Articles