I want an animation to be painted when an element becomes visible (is should appear smoothly, not the whole at all)
I tried this
states: State { name
Item { scale: visible ? 1.0 : 0.1 Behavior on scale { NumberAnimation { duration: 500 ; easing.type: Easing.InOutBounce } } }
does the trick for me.