merge bitcoin-core/gui#477: Monospaced output in Console on macOS

This commit is contained in:
Kittywhiskers Van Gogh 2024-10-25 15:28:08 +00:00
parent 694f3e9cf1
commit f088334c8a
No known key found for this signature in database
GPG Key ID: 30CD0C065E5C4AAD

View File

@ -962,7 +962,11 @@ void RPCConsole::clear(bool keep_prompt)
ui->lineEdit->setFocus();
// Set default style sheet
#ifdef Q_OS_MAC
ui->messagesWidget->setFont(GUIUtil::fixedPitchFont(/*use_embedded_font=*/true));
#else
ui->messagesWidget->setFont(GUIUtil::fixedPitchFont());
#endif
ui->messagesWidget->document()->setDefaultStyleSheet(
QString(
"table { }"