Hello.I have a question, When I using the QGraphcisTextItem , I will set the document 's width to Align the text?

Do you any method to change the alignment ,but no need to using setTextWidth()?

Thank you very much!