Skip to content

Commit

Permalink
Merge bitcoin#7364: [qt] Windows: Make rpcconsole monospace font larger
Browse files Browse the repository at this point in the history
fa6a59d [qt] Windows: Make rpcconsole monospace font larger (MarcoFalke)
  • Loading branch information
jonasschnelli committed Jan 22, 2016
2 parents 6f7841d + fa6a59d commit f221fc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/qt/rpcconsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,11 @@ void RPCConsole::clear()
// Set default style sheet
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont());
// Try to make fixed font adequately large on different OS
#ifdef WIN32
QString ptSize = QString("%1pt").arg(QFontInfo(QFont()).pointSize() * 10 / 8);
#else
QString ptSize = QString("%1pt").arg(QFontInfo(QFont()).pointSize() * 8.5 / 9);
#endif
ui->messagesWidget->document()->setDefaultStyleSheet(
QString(
"table { }"
Expand Down

0 comments on commit f221fc1

Please sign in to comment.