Make an object fill parent container

Description

What MCU/Processor/Board and compiler are you using?

Custom board with a STM32H753 MCU

What LVGL version are you using?

Latest v8.3 release

What do you want to achieve?

I want to make an object fill parent container.

What have you tried so far?

I tried using lv_obj_set_size(obj, lv_obj_get_width(obj), lv_obj_get_height(obj)); however the get_width and get_height functions return 0. If I can I’d like to avoid enabling flex to save on flash space.