Home
last modified time | relevance | path

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

/lvgl-latest/src/widgets/
Dlv_dropdown.c484 lv_coord_t list_h = list_fit_h; in lv_dropdown_open() local
489 if(dropdown_obj->coords.y2 + list_h > LV_VER_RES) { in lv_dropdown_open()
493 list_h = dropdown_obj->coords.y1 - 1; in lv_dropdown_open()
496 list_h = LV_VER_RES - dropdown_obj->coords.y2 - 1 ; in lv_dropdown_open()
502 if(dropdown_obj->coords.y1 - list_h < 0) { in lv_dropdown_open()
506 list_h = LV_VER_RES - dropdown_obj->coords.y2; in lv_dropdown_open()
509 list_h = dropdown_obj->coords.y1; in lv_dropdown_open()
514 if(list_h > list_fit_h) list_h = list_fit_h; in lv_dropdown_open()
515 lv_obj_set_height(dropdown->list, list_h); in lv_dropdown_open()