Skip to content

Commit

Permalink
merge bitcoin-core/gui#477: Monospaced output in Console on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Oct 25, 2024
1 parent 694f3e9 commit f088334
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/qt/rpcconsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 { }"
Expand Down

0 comments on commit f088334

Please sign in to comment.