[Interest] Set line spacing in QTextEdit
digitloft at gmail.com
Sat Jul 23 13:55:01 CEST 2016
I am trying to change line spacing in QTextEdit but can't seem to find any
information on how to do it?..
I've done quite a lot of googling and the best 'solution' so far is to use
QTextLayout on an empty widget and just render the text there. This
'solution' would require me to write my own text editor class implement the
cursor, etc which is a lot of work.
Is there a way to somehow set line spacing in QTextEdit tho? I am using
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest