acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
lv_example_label_5.py (341B)
1 # 2 # Show customizing the circular scrolling animation of a label with `LV_LABEL_LONG_SCROLL_CIRCULAR` long mode. 3 # 4 5 label1 = lv.label(lv.scr_act()) 6 label1.set_long_mode(lv.label.LONG.SCROLL_CIRCULAR) # Circular scroll 7 label1.set_width(150) 8 label1.set_text("It is a circularly scrolling text. ") 9 label1.align(lv.ALIGN.CENTER, 0, 40) 10