Home
last modified time | relevance | path

Searched refs:main_label (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.7.0/examples/widgets/label/
Dlv_example_label_2.c20 lv_obj_t * main_label = lv_label_create(lv_scr_act()); in lv_example_label_2() local
21 lv_label_set_text(main_label, "A simple method to create\n" in lv_example_label_2()
27 lv_label_set_text(shadow_label, lv_label_get_text(main_label)); in lv_example_label_2()
30 lv_obj_align(main_label, LV_ALIGN_CENTER, 0, 0); in lv_example_label_2()
33 lv_obj_align_to(shadow_label, main_label, LV_ALIGN_TOP_LEFT, 2, 2); in lv_example_label_2()
Dlv_example_label_2.py16 main_label = lv.label(lv.scr_act()) variable
17 main_label.set_text("A simple method to create\n"
23 shadow_label.set_text(lv.label.get_text(main_label))
26 main_label.align(lv.ALIGN.CENTER, 0, 0)
29 shadow_label.align_to(main_label, lv.ALIGN.TOP_LEFT, 2, 2)