How do you replicate the lv_cont_set_layout() function in lvgl 8

,

Migrating from LVGL 7 to LVGL 8 and I can’t find a replacement for the container layout function lv_cont_set_layout(widget, LV_LAYOUT_COLUMN_MID). How could I possible replicate it.

Maybe you are looking for this function lv_obj_set_layout?

I am more confused on the LV_LAYOUT_COLUMN_MID part, what’s the equivalent of that in lvgl 8