acid-drop/lib/lvgl/examples/widgets/bar/lv_example_bar_1.py

6 lines
98 B
Python
Raw Permalink Normal View History

2024-05-23 22:42:03 +00:00
bar1 = lv.bar(lv.scr_act())
bar1.set_size(200, 20)
bar1.center()
bar1.set_value(70, lv.ANIM.OFF)