qt: monospaced output in Console on macOS

This commit is contained in:
randymcmillan 2021-11-21 16:25:03 -05:00
parent fe03f7a37f
commit b9f0aff6b4
No known key found for this signature in database
GPG key ID: 97966C06BB06757B

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 { }"