[qt] Windows: Make rpcconsole monospace font larger

This commit is contained in:
MarcoFalke committed 2016-01-17 19:28:49 +01:00
1 parent 3cd836c1d8
commit fa6a59dd39
1 file changed
+4
+4
View File
@@ -472,7 +472,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 { }"