Home
last modified time | relevance | path

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

/lvgl-3.4.0/src/widgets/
Dlv_dropdown.c457 lv_coord_t list_h = list_fit_h; in lv_dropdown_open() local
462 if(dropdown_obj->coords.y2 + list_h > LV_VER_RES) { in lv_dropdown_open()
466 list_h = dropdown_obj->coords.y1 - 1; in lv_dropdown_open()
469 list_h = LV_VER_RES - dropdown_obj->coords.y2 - 1 ; in lv_dropdown_open()
475 if(dropdown_obj->coords.y1 - list_h < 0) { in lv_dropdown_open()
479 list_h = LV_VER_RES - dropdown_obj->coords.y2; in lv_dropdown_open()
482 list_h = dropdown_obj->coords.y1; in lv_dropdown_open()
487 if(list_h > list_fit_h) list_h = list_fit_h; in lv_dropdown_open()
488 lv_obj_set_height(dropdown->list, list_h); in lv_dropdown_open()