Searched refs:mtop (Results 1 – 2 of 2) sorted by relevance
/lvgl-2.7.6/src/lv_widgets/ |
D | lv_cont.c | 381 lv_style_int_t mtop = lv_obj_get_style_margin_top(child, LV_OBJ_PART_MAIN); in lv_cont_layout_col() local 384 lv_obj_align(child, cont, align, hpad_corr + mleft, last_cord + mtop); in lv_cont_layout_col() 385 last_cord += lv_obj_get_height(child) + inner + mtop + mbottom; in lv_cont_layout_col() 549 lv_style_int_t mtop = lv_obj_get_style_margin_top(child_rc, LV_OBJ_PART_MAIN); in lv_cont_layout_pretty() local 551 lv_obj_align(child_rc, cont, LV_ALIGN_IN_TOP_MID, 0, act_y + mtop); in lv_cont_layout_pretty() 553 h_row += mtop; in lv_cont_layout_pretty() 695 lv_style_int_t mtop = lv_obj_get_style_margin_top(child_i, LV_OBJ_PART_MAIN); in lv_cont_refr_autofit() local 696 tight_area.y1 = LV_MATH_MIN(tight_area.y1, child_i->coords.y1 - mtop); in lv_cont_refr_autofit()
|
/lvgl-2.7.6/src/lv_core/ |
D | lv_obj.c | 959 lv_style_int_t mtop = lv_obj_get_style_margin_top(obj, LV_OBJ_PART_MAIN); in lv_obj_set_height_margin() local 962 lv_obj_set_height(obj, h - mtop - mbottom); in lv_obj_set_height_margin() 2373 lv_style_int_t mtop = lv_obj_get_style_margin_top(obj, LV_OBJ_PART_MAIN); in lv_obj_get_height_margin() local 2376 return lv_obj_get_height(obj) + mtop + mbottom; in lv_obj_get_height_margin()
|