While porting from V7 to V8 I cannot find an equivalent for autofit functionality used with V7 containers.
e.g. To fit to the size of the children
lv_cont_set_fit2( cont, LV_FIT_PARENT, LV_FIT_TIGHT );
There doesn’t appear to be the equivalent in the
lv_obj_t and I can’t see how to do it with the new flex layout?
The flex examples all set the size manually prior to adding children, so maybe this is the way to go but bit of a pain to port.
Any suggestions welcome.