Home
last modified time | relevance | path

Searched refs:label2 (Results 1 – 4 of 4) sorted by relevance

/lvgl-3.7.0/examples/widgets/label/
Dlv_example_label_1.c18 lv_obj_t * label2 = lv_label_create(lv_scr_act()); in lv_example_label_1() local
19 lv_label_set_long_mode(label2, LV_LABEL_LONG_SCROLL_CIRCULAR); /*Circular scroll*/ in lv_example_label_1()
20 lv_obj_set_width(label2, 150); in lv_example_label_1()
21 lv_label_set_text(label2, "It is a circularly scrolling text. "); in lv_example_label_1()
22 lv_obj_align(label2, LV_ALIGN_CENTER, 0, 40); in lv_example_label_1()
Dlv_example_label_1.py14 label2 = lv.label(lv.scr_act()) variable
15 label2.set_long_mode(lv.label.LONG.SCROLL_CIRCULAR) # Circular scroll
16 label2.set_width(150)
17 label2.set_text("It is a circularly scrolling text. ")
18 label2.align(lv.ALIGN.CENTER, 0, 40)
/lvgl-3.7.0/docs/overview/
Dlayer.md30 lv_obj_t * label2 = lv_label_create(btn2, NULL); /*Create a label on the second button*/
31 lv_label_set_text(label2, "Button 2"); /*Set the text of the label*/
34 lv_obj_del(label2);
/lvgl-3.7.0/demos/widgets/
Dlv_demo_widgets.c1135 lv_obj_t * label2 = lv_label_create(cont); in create_meter_box() local
1136 lv_label_set_text(label2, text2); in create_meter_box()
1157 lv_obj_set_grid_cell(label2, LV_GRID_ALIGN_STRETCH, 3, 1, LV_GRID_ALIGN_CENTER, 3, 1); in create_meter_box()
1170 lv_obj_set_grid_cell(label2, LV_GRID_ALIGN_STRETCH, 1, 1, LV_GRID_ALIGN_START, 3, 1); in create_meter_box()