Searched refs:rtl_label (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.7.0/examples/widgets/label/ |
D | lv_example_label_3.c | 15 lv_obj_t * rtl_label = lv_label_create(lv_scr_act()); in lv_example_label_3() local 16 lv_label_set_text(rtl_label, in lv_example_label_3() 18 lv_obj_set_style_base_dir(rtl_label, LV_BASE_DIR_RTL, 0); in lv_example_label_3() 19 lv_obj_set_style_text_font(rtl_label, &lv_font_dejavu_16_persian_hebrew, 0); in lv_example_label_3() 20 lv_obj_set_width(rtl_label, 310); in lv_example_label_3() 21 lv_obj_align(rtl_label, LV_ALIGN_LEFT_MID, 5, 0); in lv_example_label_3()
|
D | lv_example_label_3.py | 22 rtl_label = lv.label(lv.scr_act()) variable 23 rtl_label.set_text("מעבד, או בשמו המלא יחידת עיבוד מרכזית (באנגלית: CPU - Central Processing Unit).… 24 rtl_label.set_style_base_dir(lv.BASE_DIR.RTL, 0) 25 rtl_label.set_style_text_font(lv.font_dejavu_16_persian_hebrew, 0) 26 rtl_label.set_width(310) 27 rtl_label.align(lv.ALIGN.LEFT_MID, 5, 0)
|