Important: Please read the Qt Code of Conduct -

Can we disable autoscroll property of QTextedit?

  • In some cases i don't want the auto scroll property of QTextedit.

  • This is one of the options:

    QScrollBar *sb = textEdit->verticalScrollBar();

    But I doubt it's the best option.
    I'm also looking for a similar one, only that I want auto scroll alway on ;).

Log in to reply