You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, April 19th 2007, 12:06am

QTextEdit and word wrap

Hi everyone!
Can somebody help me with setting word-wrap in QTextEdit? I want text to be wrapped at the right side of QTextEdit, and to be wrapped at any point on a line (not at word boundaries). Function call
setWordWrapMode(QTextOption::WrapAnywhere)
does actually the same as
setWordWrapMode(QTextOption::WordWrap)
which I do not perceive to be OK.

Does anybody know the solution? Thank you very much.

Stan Angelovic