Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QTextEdit with Html margin Problem
_whoiam_ last edited by
I have a QTextEdit and I want to append some incomming messages.
it looks like this
historyText->append("<div style=\"color: red;\"><b>" + time + "</b></div><div style=\"margin-left: 10px;\">bla</div>");
but every time I append more than one line I get something like this
I dont know why the margin is applied to the bold secton too