Qt - There is a bug in QPropertyAnimation?

后端 未结 4 933
时光取名叫无心
时光取名叫无心 2021-01-26 10:36

I face a very serious situation. By writing this question I hope that really professionals will express their opinion regarding to the problem I am going to describe. I have rep

4条回答
  •  迷失自我
    2021-01-26 11:14

    Did you check the actual value of maximumWidth? You don't seem to set a specific maximumWidth in your code.

    The default value for maximumWidth is 16777215, and you set a duration of 1 msec. for the closing animation. Fading from 16777215 to 3 in 1 msec. would look like "instant", I guess.

提交回复
热议问题