Searched refs:label2 (Results 1 – 4 of 4) sorted by relevance
/lvgl-3.7.0/examples/widgets/label/ |
D | lv_example_label_1.c | 18 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()
|
D | lv_example_label_1.py | 14 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/ |
D | layer.md | 30 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/ |
D | lv_demo_widgets.c | 1135 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()
|