fix spaces/monospace fonts in qt console
This commit is contained in:
parent
2d3426755c
commit
54a78ed036
@ -227,6 +227,7 @@ QString HtmlEscape(const QString& str, bool fMultiLine)
|
||||
#else
|
||||
QString escaped = str.toHtmlEscaped();
|
||||
#endif
|
||||
escaped = escaped.replace(" ", " ");
|
||||
if(fMultiLine)
|
||||
{
|
||||
escaped = escaped.replace("\n", "<br>\n");
|
||||
|
@ -324,7 +324,7 @@ void RPCConsole::clear()
|
||||
ui->messagesWidget->document()->setDefaultStyleSheet(
|
||||
"table { }"
|
||||
"td.time { color: #808080; padding-top: 3px; } "
|
||||
"td.message { font-family: monospace; font-size: 12px; } " // Todo: Remove fixed font-size
|
||||
"td.message { font-family: Courier, Courier New, Lucida Console, monospace; font-size: 12px; } " // Todo: Remove fixed font-size
|
||||
"td.cmd-request { color: #006060; } "
|
||||
"td.cmd-error { color: red; } "
|
||||
"b { color: #006060; } "
|
||||
|
Loading…
Reference in New Issue
Block a user