Skip to content

Commit 268b79e

Browse files
author
MarcoFalke
committed
[qt] rpcconsole: Scale monospace font to 95%
1 parent 28313b8 commit 268b79e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qt/rpcconsole.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,8 @@ void RPCConsole::clear()
463463

464464
// Set default style sheet
465465
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont());
466-
// Try to make font equally large on different OS.
467-
QString ptSize = QString("%1pt").arg(QFontInfo(QFont()).pointSize());
466+
// Try to make fixed font adequately large on different OS
467+
QString ptSize = QString("%1pt").arg(QFontInfo(QFont()).pointSize() * 8.5 / 9);
468468
ui->messagesWidget->document()->setDefaultStyleSheet(
469469
QString(
470470
"table { }"

0 commit comments

Comments
 (0)