Skip to content
QtWS25 Last Chance
  • Troubleshoot with QTextEdit

    Unsolved General and Desktop qtextedit align troubleshoot qt designer
    7
    0 Votes
    7 Posts
    2k Views
    mrjjM
    @Matzomatzomatzo said: Hi if setAlignment sets the alignment for a paragraph of text (see doc) When you do ui->QtexteditObj->setText I think it replaces the paragraph with a new one since u replace all text and the default alignment is left for that new paragraph Just guessing. Did not test it :)