Skip to content

Commit b9f0aff

Browse files
committed
qt: monospaced output in Console on macOS
1 parent fe03f7a commit b9f0aff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/qt/rpcconsole.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,11 @@ void RPCConsole::clear(bool keep_prompt)
866866
}
867867

868868
// Set default style sheet
869+
#ifdef Q_OS_MAC
870+
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont(/*use_embedded_font=*/true));
871+
#else
869872
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont());
873+
#endif
870874
ui->messagesWidget->document()->setDefaultStyleSheet(
871875
QString(
872876
"table { }"

0 commit comments

Comments
 (0)