We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da83ecd commit 7726c48Copy full SHA for 7726c48
src/qt/rpcconsole.cpp
@@ -472,7 +472,11 @@ void RPCConsole::clear()
472
// Set default style sheet
473
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont());
474
// Try to make fixed font adequately large on different OS
475
+#ifdef WIN32
476
+ QString ptSize = QString("%1pt").arg(QFontInfo(QFont()).pointSize() * 10 / 8);
477
+#else
478
QString ptSize = QString("%1pt").arg(QFontInfo(QFont()).pointSize() * 8.5 / 9);
479
+#endif
480
ui->messagesWidget->document()->setDefaultStyleSheet(
481
QString(
482
"table { }"
0 commit comments