first commit
This commit is contained in:
commit
e6a42e28e9
4355 changed files with 4626605 additions and 0 deletions
10
libraries/lvgl/examples/widgets/label/lv_example_label_5.py
Normal file
10
libraries/lvgl/examples/widgets/label/lv_example_label_5.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#
|
||||
# Show customizing the circular scrolling animation of a label with `LV_LABEL_LONG_SCROLL_CIRCULAR` long mode.
|
||||
#
|
||||
|
||||
label1 = lv.label(lv.scr_act())
|
||||
label1.set_long_mode(lv.label.LONG.SCROLL_CIRCULAR) # Circular scroll
|
||||
label1.set_width(150)
|
||||
label1.set_text("It is a circularly scrolling text. ")
|
||||
label1.align(lv.ALIGN.CENTER, 0, 40)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue