Searched refs:bar_rtl (Results 1 – 2 of 2) sorted by relevance
/lvgl-latest/examples/widgets/bar/ |
D | lv_example_bar_5.c | 20 lv_obj_t * bar_rtl = lv_bar_create(lv_scr_act()); in lv_example_bar_5() local 21 lv_obj_set_style_base_dir(bar_rtl, LV_BASE_DIR_RTL, 0); in lv_example_bar_5() 22 lv_obj_set_size(bar_rtl, 200, 20); in lv_example_bar_5() 23 lv_bar_set_value(bar_rtl, 70, LV_ANIM_OFF); in lv_example_bar_5() 24 lv_obj_align(bar_rtl, LV_ALIGN_CENTER, 0, 30); in lv_example_bar_5() 28 lv_obj_align_to(label, bar_rtl, LV_ALIGN_OUT_TOP_MID, 0, -5); in lv_example_bar_5()
|
D | lv_example_bar_5.py | 14 bar_rtl = lv.bar(lv.scr_act()) variable 15 bar_rtl.set_style_base_dir(lv.BASE_DIR.RTL,0) 16 bar_rtl.set_size(200, 20) 17 bar_rtl.set_value(70, lv.ANIM.OFF) 18 bar_rtl.align(lv.ALIGN.CENTER, 0, 30) 22 label.align_to(bar_rtl, lv.ALIGN.OUT_TOP_MID, 0, -5)
|