Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/extra/layouts/flex/
Dlv_flex.c445 lv_coord_t main_pos = 0; in children_repos() local
448 …place_content(f->main_place, max_main_size, t->track_main_size, t->item_cnt, &main_pos, &place_gap… in children_repos()
449 if(f->row && rtl) main_pos += lv_obj_get_content_width(cont); in children_repos()
507 if(f->row && rtl) main_pos -= area_get_main_size(&item->coords); in children_repos()
519 diff_x += f->row ? main_pos : cross_pos; in children_repos()
520 diff_y += f->row ? cross_pos : main_pos; in children_repos()
532 if(!(f->row && rtl)) main_pos += area_get_main_size(&item->coords) + item_gap + place_gap; in children_repos()
533 else main_pos -= item_gap + place_gap; in children_repos()