Home
last modified time | relevance | path

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

/lvgl-latest/examples/widgets/bar/
Dlv_example_bar_5.c11 lv_obj_t * bar_ltr = lv_bar_create(lv_scr_act()); in lv_example_bar_5() local
12 lv_obj_set_size(bar_ltr, 200, 20); in lv_example_bar_5()
13 lv_bar_set_value(bar_ltr, 70, LV_ANIM_OFF); in lv_example_bar_5()
14 lv_obj_align(bar_ltr, LV_ALIGN_CENTER, 0, -30); in lv_example_bar_5()
18 lv_obj_align_to(label, bar_ltr, LV_ALIGN_OUT_TOP_MID, 0, -5); in lv_example_bar_5()
Dlv_example_bar_5.py5 bar_ltr = lv.bar(lv.scr_act()) variable
6 bar_ltr.set_size(200, 20)
7 bar_ltr.set_value(70, lv.ANIM.OFF)
8 bar_ltr.align(lv.ALIGN.CENTER, 0, -30)
12 label.align_to(bar_ltr, lv.ALIGN.OUT_TOP_MID, 0, -5)