[qt] Use fixed pitch font for the rpc console

Also:
* Preserve white space
* Make fixed font as large as default font
This commit is contained in:
MarcoFalke
2015-10-22 13:33:58 +02:00
parent 8daffe227b
commit 28313b83fc
7 changed files with 18 additions and 11 deletions

View File

@@ -88,7 +88,7 @@ QString dateTimeStr(qint64 nTime)
return dateTimeStr(QDateTime::fromTime_t((qint32)nTime));
}
QFont bitcoinAddressFont()
QFont fixedPitchFont()
{
QFont font("Monospace");
#if QT_VERSION >= 0x040800
@@ -103,7 +103,7 @@ void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent)
{
parent->setFocusProxy(widget);
widget->setFont(bitcoinAddressFont());
widget->setFont(fixedPitchFont());
#if QT_VERSION >= 0x040700
// We don't want translators to use own addresses in translations
// and this is the only place, where this address is supplied.