mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-03 16:02:34 +02:00
qt: monospaced output in Console on macOS
This commit is contained in:
parent
fe03f7a37f
commit
b9f0aff6b4
@ -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…
Reference in New Issue
Block a user