lv_obj_set_size() function
Set the size of an object.
Notes
possible values are: pixel simple set the size accordingly LV_SIZE_CONTENT set the size to involve all children in the given direction LV_SIZE_PCT(x) to set size in percentage of the parent's content area size (the size without paddings). x should be in [0..1000]% range