diff options
author | MarcoFalke <falke.marco@gmail.com> | 2015-11-03 11:58:04 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2015-11-03 12:34:51 +0100 |
commit | 268b79ef0c54a3bff0b50e093b98b943e49a4939 (patch) | |
tree | 0bef8e4779ed46ec9b6fdc2fec87db2f99300439 | |
parent | 28313b83fc1a16b5e6da2b868b5f297050ce8b05 (diff) |
[qt] rpcconsole: Scale monospace font to 95%
-rw-r--r-- | src/qt/rpcconsole.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 { }" |