Merge pull request #213 from UdjinM6/v0.11.2.x_fix_monospace_qt_console
V0.11.2.x fix spaces/monospace fonts in qt console
This commit is contained in:
commit
8faca60382
@ -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