How to align Text at the center with label.set_width() defined

As discussed in Align Text at the center impossible with label.set_width() defined - #2 by amirgon, did you try this? : label.set_style_text_align(lv.TEXT_ALIGN.CENTER,0)