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();
    sb->setValue(sb->minimum());
    @

    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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.