Revision control

Copy as Markdown

import QtQuick
Item {
height: undefined
implicitHeight: 30
property int steps: 0
Behavior on height {
NumberAnimation {
duration: 500
}
}
onHeightChanged: ++steps
Component.onCompleted: {
height = Qt.binding(() => implicitHeight);
implicitHeight = 60;
}
}