mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 18:53:23 -03:00
qt: monospaced output in Console on macOS
This commit is contained in:
parent
fe03f7a37f
commit
b9f0aff6b4
1 changed files with 4 additions and 0 deletions
|
@ -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 { }"
|
||||
|
|
Loading…
Add table
Reference in a new issue