Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/core/
Dlv_obj_scroll.c493 lv_coord_t top_space = lv_obj_get_style_pad_top(obj, LV_PART_SCROLLBAR); in lv_obj_get_scrollbar_area() local
526 lv_coord_t sb_h = ((obj_h - top_space - bottom_space - hor_req_space) * obj_h) / content_h; in lv_obj_get_scrollbar_area()
528 rem = (obj_h - top_space - bottom_space - hor_req_space) - in lv_obj_get_scrollbar_area()
532 ver_area->y1 = obj->coords.y1 + top_space; in lv_obj_get_scrollbar_area()
539 ver_area->y1 = obj->coords.y1 + sb_y + top_space; in lv_obj_get_scrollbar_area()
541 if(ver_area->y1 < obj->coords.y1 + top_space) { in lv_obj_get_scrollbar_area()
542 ver_area->y1 = obj->coords.y1 + top_space; in lv_obj_get_scrollbar_area()