mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
Merge #7364: [qt] Windows: Make rpcconsole monospace font larger
fa6a59d [qt] Windows: Make rpcconsole monospace font larger (MarcoFalke)
This commit is contained in:
commit
f221fc1887
@ -474,7 +474,11 @@ void RPCConsole::clear()
|
|||||||
// Set default style sheet
|
// Set default style sheet
|
||||||
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont());
|
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont());
|
||||||
// Try to make fixed font adequately large on different OS
|
// 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);
|
QString ptSize = QString("%1pt").arg(QFontInfo(QFont()).pointSize() * 8.5 / 9);
|
||||||
|
#endif
|
||||||
ui->messagesWidget->document()->setDefaultStyleSheet(
|
ui->messagesWidget->document()->setDefaultStyleSheet(
|
||||||
QString(
|
QString(
|
||||||
"table { }"
|
"table { }"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user