Re: [Interest] Can't set line height for QPlainTextEdit

2018-06-05 Thread Christoph Feck
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

[Interest] Can't set line height for QPlainTextEdit

2018-06-05 Thread nus1998
Hi All, 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. my env: Qt 5.6.2 mingw version, Win 10 64 bit #include"dialog.h" #include"ui_dialog.h"