My list is not being aligned to the left


I have a screen with a menu->list. I would like my List to be aligned to the left of my screen. However, for some reason, I can’t:

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

Zephyr native posix

What LVGL version are you using?


What do you want to achieve?

It’s in the description.

What have you tried so far?

Align using the menu, the page, the screen (lv_scr_act()), any of those options worked. Below you can find my current code. Note that I’m purposely trying to align -100 related to the screen and doesn’t matter, the output is the as the image above no matter what I put in the offsets.

lv_obj_t *menu = draw_get_menu();
	lv_obj_t *page = lv_menu_page_create(menu, (char *)level->;
	lv_obj_t *cont = lv_menu_cont_create(page);
	lv_obj_t *list = lv_list_create(cont);
	lv_obj_set_size(list, lv_disp_get_hor_res(lv_disp_get_default()) - HORIZONTAL_PADDING_LIST,
			lv_disp_get_ver_res(lv_disp_get_default()) - VERTICAL_PADDING_LIST);
    lv_obj_set_style_border_width(list, 0, LV_PART_MAIN);
    lv_obj_align_to(list, lv_scr_act(), LV_ALIGN_OUT_BOTTOM_LEFT, -100, -100);