QML animations visible property changes

前端 未结 6 1230
太阳男子
太阳男子 2021-02-13 08:52

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         


        
6条回答
  •  伪装坚强ぢ
    2021-02-13 09:25

    Because it's boolean, visible property cannot be animated. Perhaps opacity could do the trick.

提交回复
热议问题