I'm trying to set up a variable size enter-space... I know litte HTML but I wrote some text (including an enter pressing) on a QTextEdit using Qt Designer and it provided with some "should work" code that I copied, that the HTML part of my code...
So here it is...
double space = 20;
QTextEdit *textEditor = new QTextEdit;
QString aux = tr("
textEditor->insertPlainText("Starts");
textEditor->insertHtml(aux);
textEditor->insertPlainText("End");
If I open textEditor it only shows:
"StartsEnd"
while it should show something like this
"Starts
End"
Can someone help me spot the error?