diff options
author | randymcmillan <randy.lee.mcmillan@gmail.com> | 2021-11-21 16:25:03 -0500 |
---|---|---|
committer | randymcmillan <randy.lee.mcmillan@gmail.com> | 2021-11-22 06:52:42 -0500 |
commit | b9f0aff6b4a64c75d8f937fb9a3546c96d6f5a01 (patch) | |
tree | dd67960042cb9a6a69a7da05634bf00495d46259 | |
parent | fe03f7a37fd0ef05149161f6b95a25493e1fe38f (diff) |
qt: monospaced output in Console on macOS
-rw-r--r-- | src/qt/rpcconsole.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 0c3332ab76..6bcdcc4c29 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -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 { }" |