diff options
| author | MarcoFalke <[email protected]> | 2015-11-03 11:58:04 +0100 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2015-11-03 12:34:51 +0100 |
| commit | 268b79ef0c54a3bff0b50e093b98b943e49a4939 (patch) | |
| tree | 0bef8e4779ed46ec9b6fdc2fec87db2f99300439 /src | |
| parent | [qt] Use fixed pitch font for the rpc console (diff) | |
| download | discoin-268b79ef0c54a3bff0b50e093b98b943e49a4939.tar.xz discoin-268b79ef0c54a3bff0b50e093b98b943e49a4939.zip | |
[qt] rpcconsole: Scale monospace font to 95%
Diffstat (limited to 'src')
| -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 5be750772..840170182 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 { }" |