Home
last modified time | relevance | path

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

/lvgl-latest/src/widgets/dropdown/
Dlv_dropdown.c546 int32_t list_h = list_fit_h; in lv_dropdown_open() local
551 if(dropdown_obj->coords.y2 + list_h > LV_VER_RES) { in lv_dropdown_open()
555 list_h = dropdown_obj->coords.y1 - 1; in lv_dropdown_open()
558 list_h = LV_VER_RES - dropdown_obj->coords.y2 - 1 ; in lv_dropdown_open()
564 if(dropdown_obj->coords.y1 - list_h < 0) { in lv_dropdown_open()
568 list_h = LV_VER_RES - dropdown_obj->coords.y2; in lv_dropdown_open()
571 list_h = dropdown_obj->coords.y1; in lv_dropdown_open()
576 if(list_h > list_fit_h) list_h = list_fit_h; in lv_dropdown_open()
577 lv_obj_set_height(dropdown->list, list_h); in lv_dropdown_open()