Home
last modified time | relevance | path

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

/lvgl-latest/demos/flex_layout/
Dlv_demo_flex_layout_ctrl_pad.c61 SPINBOX_EVENT_ATTACH(pad_left); in ctrl_pad_attach()
105 SPINBOX_UPDATE_STYLE_VALUE(pad_left); in ctrl_pad_obj_update()
/lvgl-latest/src/indev/
Dlv_indev_scroll.c523 int32_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN); in find_snap_point_x() local
537 x_parent = obj->coords.x1 + pad_left; in find_snap_point_x()
545 …x_parent = obj->coords.x1 + pad_left + (lv_area_get_width(&obj->coords) - pad_left - pad_right) / … in find_snap_point_x()
720 int32_t pad_left = lv_obj_get_style_pad_left(scroll_obj, 0); in has_more_snap_points() local
723 x += (lv_area_get_width(&scroll_obj->coords) - pad_left - pad_right) / 2; in has_more_snap_points()
724 x += pad_left; in has_more_snap_points()
/lvgl-latest/src/widgets/scale/
Dlv_scale.c829 const int32_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width; in scale_draw_main() local
840 x_ofs = obj->coords.x1 + (line_dsc.width / 2) + pad_left; in scale_draw_main()
848 x_ofs = obj->coords.x1 + pad_left; in scale_draw_main()
871 main_line_point_b.x = obj->coords.x2 - (pad_left); in scale_draw_main()
1043 const int32_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width; in scale_get_tick_points() local
1057 x_ofs = obj->coords.x1 + (main_line_dsc.width / 2) + pad_left; in scale_get_tick_points()
1066 x_ofs = obj->coords.x1 + (pad_left + tick_pad_left); in scale_get_tick_points()
1116 horizontal_position = obj->coords.x2 - (pad_left + tick_pad_left); in scale_get_tick_points()
1120 …const int32_t scale_total_width = lv_obj_get_width(obj) - (pad_right + pad_left + tick_pad_right +… in scale_get_tick_points()
/lvgl-latest/src/widgets/chart/
Dlv_chart.c736 int32_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width; in draw_div_lines() local
775 int32_t x_ofs = obj->coords.x1 + pad_left - scroll_left; in draw_div_lines()
811 int32_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width; in draw_series_line() local
815 int32_t x_ofs = obj->coords.x1 + pad_left - lv_obj_get_scroll_left(obj); in draw_series_line()
966 int32_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN); in draw_series_scatter() local
970 int32_t x_ofs = obj->coords.x1 + pad_left + border_width - lv_obj_get_scroll_left(obj); in draw_series_scatter()
1088 int32_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN); in draw_series_bar() local
1105 int32_t x_ofs = pad_left - lv_obj_get_scroll_left(obj) + border_w; in draw_series_bar()
1273 int32_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN); in get_index_from_x() local
1274 x -= pad_left; in get_index_from_x()
/lvgl-latest/src/layouts/grid/
Dlv_grid.c204 int32_t pad_left = lv_obj_get_style_space_left(cont, LV_PART_MAIN); in grid_update() local
206 hint.grid_abs.x = pad_left + cont->coords.x1 - lv_obj_get_scroll_x(cont); in grid_update()
/lvgl-latest/src/others/xml/
Dlv_xml_style.c118 else SET_STYLE_IF(pad_left, lv_xml_atoi(value)); in lv_xml_style_register()
/lvgl-latest/src/others/xml/parsers/
Dlv_xml_obj_parser.c133 else SET_STYLE_IF(pad_left, lv_xml_atoi(value)); in apply_styles()
/lvgl-latest/docs/details/base-widget/
Dscroll.rst77 ``pad_left/right/top/bottom`` sets the spacing around the scrollbars,
/lvgl-latest/docs/details/base-widget/styles/
Dstyle-properties.rst353 pad_left subsection