Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

how to use QTextEdit alignment

$
0
0
I have a QTextEdit widget and what I want is , when I append text , I want the 1st word to be left aligned and the 2nd word to be right aligned . Like so : “word1 word2” where word2 is aligned to the right edge of the text box . Anyone know a way to do this ; i have tried several things and it is not working out .

Viewing all articles
Browse latest Browse all 13965

Latest Images

Trending Articles



Latest Images