PDA

View Full Version : QPlainTextEdit Wrapping



cic
26th February 2014, 10:06
For some reasons I cannot use QTextEdit instead of QPlainTextEdit,

the problem is in QPlainTextEdit there is no explicit way to specify a wrap width. e.g 25 character one line.
there is only NoWrap and WidgetWrap

anyone knows how to make it like in QTextEdit?

anda_skoa
26th February 2014, 10:54
For some reasons I cannot use QTextEdit instead of QPlainTextEdit,


Wouldn't it be more reasonable to look into these reasons instead of adding functionality to QPlainTextEdit that QTextEdit already has?

Cheers,
_