GUIDER 1.7.0 关于lv_anim_set_time(&anim, duration);

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GUIDER 1.7.0 关于lv_anim_set_time(&anim, duration);

1,166 Views
AndyLiang
Contributor I

GUIDER 1.7.0

关于lv_anim_set_time(&anim, duration);

在界面编缉时,线性动画时间调到10000ms就不能往上调了,

还有其它地方可以设置吗?

0 Kudos
Reply
1 Reply

1,118 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @AndyLiang,

The GUI Guider generated code will not create a lv_anim_set_time() function with duration larger than 10000, you are correct. However, by adding custom code to a widget you should be able to add a lv_anim_set_time() function with a duration larger than 10000. Here's the link of the GUI Guider User Guide section that describes custom code attributes:

Add custom attributes and styles after setup screen | GUIGUIDERUG_1.7.0: GUI Guider v1.7.0 User Guid...

BR,
Edwin.

0 Kudos
Reply