From 268b79ef0c54a3bff0b50e093b98b943e49a4939 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 3 Nov 2015 11:58:04 +0100 Subject: [qt] rpcconsole: Scale monospace font to 95% --- src/qt/rpcconsole.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qt') diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 5be750772f..8401701821 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -463,8 +463,8 @@ void RPCConsole::clear() // Set default style sheet QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont()); - // Try to make font equally large on different OS. - QString ptSize = QString("%1pt").arg(QFontInfo(QFont()).pointSize()); + // Try to make fixed font adequately large on different OS + QString ptSize = QString("%1pt").arg(QFontInfo(QFont()).pointSize() * 8.5 / 9); ui->messagesWidget->document()->setDefaultStyleSheet( QString( "table { }" -- cgit v1.2.3