Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/core/
Dlv_indev_scroll.c460 lv_coord_t pad_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in find_snap_point_x() local
477 x_parent = obj->coords.x2 - pad_right; in find_snap_point_x()
481 …_parent = obj->coords.x1 + pad_left + (lv_area_get_width(&obj->coords) - pad_left - pad_right) / 2; in find_snap_point_x()
621 lv_coord_t pad_right = lv_obj_get_style_pad_right(scroll_obj, LV_PART_MAIN); in elastic_diff() local
625 …point = pad_left + (lv_area_get_width(&scroll_obj->coords) - pad_left - pad_right) / 2 + scroll_ob… in elastic_diff()
633 snap_point = scroll_obj->coords.x2 - pad_right; in elastic_diff()
Dlv_obj_scroll.c173 lv_coord_t pad_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in lv_obj_get_scroll_left() local
198 self_w = self_w - (lv_obj_get_width(obj) - pad_right - pad_left - 2 * border_width); in lv_obj_get_scroll_left()
225 lv_coord_t pad_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in lv_obj_get_scroll_right() local
230 child_res -= (obj->coords.x2 - pad_right - border_width); in lv_obj_get_scroll_right()
235 self_w = self_w - (lv_obj_get_width(obj) - pad_right - pad_left - 2 * border_width); in lv_obj_get_scroll_right()
Dlv_obj_pos.c993 lv_coord_t pad_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN) + border_width; in calc_content_width() local
997 self_w = lv_obj_get_self_width(obj) + pad_left + pad_right; in calc_content_width()
1022 … child_res = LV_MAX(child_res, lv_area_get_width(&child->coords) + pad_right); in calc_content_width()
1064 child_res += pad_right; in calc_content_width()
/lvgl-3.7.0/docs/overview/
Dstyle-props.md189 ### pad_right subsection