Searched refs:pad_left (Results 1 – 7 of 7) sorted by relevance
/lvgl-3.7.0/src/core/ |
D | lv_indev_scroll.c | 459 lv_coord_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN); in find_snap_point_x() local 473 x_parent = obj->coords.x1 + pad_left; in find_snap_point_x() 481 …x_parent = obj->coords.x1 + pad_left + (lv_area_get_width(&obj->coords) - pad_left - pad_right) / … in find_snap_point_x() 620 lv_coord_t pad_left = lv_obj_get_style_pad_left(scroll_obj, LV_PART_MAIN); in elastic_diff() local 625 …snap_point = pad_left + (lv_area_get_width(&scroll_obj->coords) - pad_left - pad_right) / 2 + scro… in elastic_diff() 629 snap_point = scroll_obj->coords.x1 + pad_left; in elastic_diff()
|
D | lv_obj_pos.c | 713 lv_coord_t pad_left = lv_obj_get_style_pad_left(parent, LV_PART_MAIN); in lv_obj_move_to() local 717 x += pad_left + parent->coords.x1; in lv_obj_move_to() 721 x += pad_left + parent->coords.x1 - lv_obj_get_scroll_x(parent); in lv_obj_move_to() 994 lv_coord_t pad_left = lv_obj_get_style_pad_left(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() 1031 child_res += pad_left; in calc_content_width() 1054 … child_res = LV_MAX(child_res, lv_area_get_width(&child->coords) + pad_left); in calc_content_width()
|
D | lv_obj_scroll.c | 174 lv_coord_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN); in lv_obj_get_scroll_left() local 191 child_res = (obj->coords.x1 + pad_left + border_width) - child_res; in lv_obj_get_scroll_left() 198 self_w = self_w - (lv_obj_get_width(obj) - pad_right - pad_left - 2 * border_width); in lv_obj_get_scroll_left() 226 lv_coord_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN); in lv_obj_get_scroll_right() local 235 self_w = self_w - (lv_obj_get_width(obj) - pad_right - pad_left - 2 * border_width); in lv_obj_get_scroll_right()
|
/lvgl-3.7.0/src/extra/widgets/chart/ |
D | lv_chart.c | 777 lv_coord_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width; in draw_div_lines() local 833 lv_coord_t x_ofs = obj->coords.x1 + pad_left - scroll_left; in draw_div_lines() 883 lv_coord_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width; in draw_series_line() local 887 lv_coord_t x_ofs = obj->coords.x1 + pad_left - lv_obj_get_scroll_left(obj); in draw_series_line() 1052 lv_coord_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN); in draw_series_scatter() local 1056 lv_coord_t x_ofs = obj->coords.x1 + pad_left + border_width - lv_obj_get_scroll_left(obj); in draw_series_scatter() 1192 lv_coord_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN); in draw_series_bar() local 1208 lv_coord_t x_ofs = pad_left - lv_obj_get_scroll_left(obj) + border_w; in draw_series_bar() 1529 …lv_coord_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + lv_obj_get_style_border_width… in draw_x_ticks() local 1536 lv_coord_t x_ofs = obj->coords.x1 + pad_left - lv_obj_get_scroll_left(obj); in draw_x_ticks() [all …]
|
/lvgl-3.7.0/src/extra/layouts/grid/ |
D | lv_grid.c | 355 lv_coord_t pad_left = lv_obj_get_style_pad_left(cont, LV_PART_MAIN) + border_widt; in grid_update() local 357 hint.grid_abs.x = pad_left + cont->coords.x1 - lv_obj_get_scroll_x(cont); in grid_update()
|
/lvgl-3.7.0/docs/overview/ |
D | scroll.md | 50 `pad_left/right/top/bottom` sets the spacing around the scrollbars and `width` sets the scrollbar's…
|
D | style-props.md | 180 ### pad_left subsection
|