Center two lines of text in a button label

Hi all, new to messing around with lvgl, im trying to make a button with two lines of text, I used \n for new line but the new line of text is left justified… Any Ideas? Sample code?

Hi,
This code works for me, I’m using LVGL v9. Which version are you using?

	lv_obj_t * btn1 = lv_button_create(lv_scr_act());
	lv_obj_center(btn1);

	lv_obj_t * label = lv_label_create(btn1);
	lv_label_set_text(label, "Button\nNew line");
	lv_obj_set_style_text_align(label, LV_TEXT_ALIGN_CENTER, 0);
	lv_obj_center(label);

Produces: