[Interest] Can't set line height for QPlainTextEdit

Christoph Feck cfeck at kde.org
Wed Jun 6 03:59:04 CEST 2018


On 06.06.2018 03:52, nus1998 wrote:
> I want to set line height for QPlainTextEdit, here is my code, but it doesn't work, the line height is always same as the font height.
> btw: If I change QPlainTextEdit to QTextEdit, then it works.

QPlainTextEdit has vastly simpler layouting code to speed up text where 
formatting is not relevant (e.g. log files). As such, it is most 
certainly intended to ignore the request for additional block formatting 
commands.



More information about the Interest mailing list