Hi all,
I would like to ask about one thing concerning QTextEdit. When I add a lot of text to the text edit it automatically scrolls so the last line is visible. Howto set that the textEdit should ensure the first line visible?
Thanks,
Kacper
Printable View
Hi all,
I would like to ask about one thing concerning QTextEdit. When I add a lot of text to the text edit it automatically scrolls so the last line is visible. Howto set that the textEdit should ensure the first line visible?
Thanks,
Kacper
Yeah, QTextEdit::append() scrolls automatically. Use QTextEdit::insertHtml() or QTextEdit::insertPlainText() instead if you don't want automatic scrolling.