qt: monospaced output in Console on macOS
This commit is contained in:
1 file changed
+4
@@ -866,7 +866,11 @@ void RPCConsole::clear(bool keep_prompt)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Set default style sheet
|
// Set default style sheet
|
||||||
|
#ifdef Q_OS_MAC
|
||||||
|
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont(/*use_embedded_font=*/true));
|
||||||
|
#else
|
||||||
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont());
|
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont());
|
||||||
|
#endif
|
||||||
ui->messagesWidget->document()->setDefaultStyleSheet(
|
ui->messagesWidget->document()->setDefaultStyleSheet(
|
||||||
QString(
|
QString(
|
||||||
"table { }"
|
"table { }"
|
||||||
|
|||||||
Reference in new issue
Block a user