qt: monospaced output in Console on macOS

This commit is contained in:
randymcmillan committed 2021-11-22 06:52:42 -05:00
1 parent fe03f7a37f
commit b9f0aff6b4
1 file changed
+4
+4
View File
@@ -866,7 +866,11 @@ void RPCConsole::clear(bool keep_prompt)
}
// Set default style sheet
#ifdef Q_OS_MAC
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont(/*use_embedded_font=*/true));
#else
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont());
#endif
ui->messagesWidget->document()->setDefaultStyleSheet(
QString(
"table { }"