QGraphicsTextItem Centring Issues
I have a QGraphicsTextItem in which I editted the class to allow me to have the text displayed in the centre when a new line is formatted. The current issue I’m facing with it is that I can’t call the original class it will create another text element that isn’t centred. Also, I can’t use html styling to centring because I need to know when a new line is formatted and with the html option when it has reached its max width it creates a new line but you can’t retrieve the new line as a
(at leas I haven’t been able to), when using toHtml function.