How do I make a horizontal scrollbar appear whenever the application is resized so that every line is as appears? Sometimes, filenames are really long and I don't want to manually resize the form UI.
I have tried setting the scrollbar policy to as needed, but that doesn't do anything. Since the lines are still appearing on the screen.
Increasing size of form:
You have to set the
QTextEdit::LineWrapMode
toQTextEdit::NoWrap
.See class reference for more details.