Home
last modified time | relevance | path

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

/lvgl-2.7.6/src/lv_widgets/
Dlv_textarea.c619 lv_obj_t * label_par = lv_obj_get_parent(ext->label); in lv_textarea_set_cursor_pos() local
632 if(lv_obj_get_y(label_par) + cur_pos.y < 0) { in lv_textarea_set_cursor_pos()
633 lv_obj_set_y(label_par, -cur_pos.y + top); in lv_textarea_set_cursor_pos()
638 lv_obj_set_y(label_par, -(cur_pos.y - lv_obj_get_height(ta) + font_h + top + bottom)); in lv_textarea_set_cursor_pos()
641 if(lv_obj_get_x(label_par) + cur_pos.x < font_h) { in lv_textarea_set_cursor_pos()
642 lv_obj_set_x(label_par, -cur_pos.x + font_h); in lv_textarea_set_cursor_pos()
649 lv_obj_set_x(label_par, -(cur_pos.x - lv_obj_get_width(ta) + font_h + left + right)); in lv_textarea_set_cursor_pos()