diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2017-02-17 08:41:57 +0000 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-02-17 11:00:52 +0100 |
commit | 7abe7bbf61d90dc003647f2cc5019e4652182399 (patch) | |
tree | 37f711086429eb6de05ef3f6102f93ea9a4f85b4 /src/qt | |
parent | 3e4d7bfcb7d9f6d88b6120f44bb6cb7fa93d7adf (diff) |
Qt/Send: Give fallback fee a reasonable indent
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/sendcoinsdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index d39f92dda3..39f8285014 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -22,6 +22,7 @@ #include "txmempool.h" #include "wallet/wallet.h" +#include <QFontMetrics> #include <QMessageBox> #include <QScrollBar> #include <QSettings> @@ -659,6 +660,7 @@ void SendCoinsDialog::updateSmartFeeLabel() int lightness = ui->fallbackFeeWarningLabel->palette().color(QPalette::WindowText).lightness(); QColor warning_colour(255 - (lightness / 5), 176 - (lightness / 3), 48 - (lightness / 14)); ui->fallbackFeeWarningLabel->setStyleSheet("QLabel { color: " + warning_colour.name() + "; }"); + ui->fallbackFeeWarningLabel->setIndent(QFontMetrics(ui->fallbackFeeWarningLabel->font()).width("x")); } else { |