Searched refs:SCROLLBAR_MIN_SIZE (Results 1 – 1 of 1) sorted by relevance
21 #define SCROLLBAR_MIN_SIZE (LV_DPX(10)) macro527 sb_h = LV_MAX(sb_h, SCROLLBAR_MIN_SIZE); in lv_obj_get_scrollbar_area()543 if(ver_area->y1 + SCROLLBAR_MIN_SIZE > ver_area->y2) { in lv_obj_get_scrollbar_area()544 ver_area->y2 = ver_area->y1 + SCROLLBAR_MIN_SIZE; in lv_obj_get_scrollbar_area()549 if(ver_area->y2 - SCROLLBAR_MIN_SIZE < ver_area->y1) { in lv_obj_get_scrollbar_area()550 ver_area->y1 = ver_area->y2 - SCROLLBAR_MIN_SIZE; in lv_obj_get_scrollbar_area()565 sb_w = LV_MAX(sb_w, SCROLLBAR_MIN_SIZE); in lv_obj_get_scrollbar_area()588 if(hor_area->x1 + SCROLLBAR_MIN_SIZE > hor_area->x2) { in lv_obj_get_scrollbar_area()589 hor_area->x2 = hor_area->x1 + SCROLLBAR_MIN_SIZE; in lv_obj_get_scrollbar_area()594 if(hor_area->x2 - SCROLLBAR_MIN_SIZE < hor_area->x1) { in lv_obj_get_scrollbar_area()[all …]