mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-19 03:20:37 +00:00
[qt] rpcconsole: Scale monospace font to 95%
This commit is contained in:
parent
28313b83fc
commit
268b79ef0c
@ -463,8 +463,8 @@ void RPCConsole::clear()
|
|||||||
|
|
||||||
// Set default style sheet
|
// Set default style sheet
|
||||||
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont());
|
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont());
|
||||||
// Try to make font equally large on different OS.
|
// Try to make fixed font adequately large on different OS
|
||||||
QString ptSize = QString("%1pt").arg(QFontInfo(QFont()).pointSize());
|
QString ptSize = QString("%1pt").arg(QFontInfo(QFont()).pointSize() * 8.5 / 9);
|
||||||
ui->messagesWidget->document()->setDefaultStyleSheet(
|
ui->messagesWidget->document()->setDefaultStyleSheet(
|
||||||
QString(
|
QString(
|
||||||
"table { }"
|
"table { }"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user