Browse Source

[qt] rpcconsole: Scale monospace font to 95%

pull/1/head
MarcoFalke 7 years ago
parent
commit
268b79ef0c
  1. 4
      src/qt/rpcconsole.cpp

4
src/qt/rpcconsole.cpp

@ -463,8 +463,8 @@ void RPCConsole::clear() @@ -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 { }"

Loading…
Cancel
Save