lv_obj_set_flex_grow() function
Sets the width or height (on main axis) to grow the object in order fill the free space
Arguments
obj
pointer to an object. The parent must have flex layout else nothing will happen.
grow
a value to set how much free space to take proportionally to other growing items.