From 7abe7bbf61d90dc003647f2cc5019e4652182399 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Fri, 17 Feb 2017 08:41:57 +0000 Subject: [PATCH] Qt/Send: Give fallback fee a reasonable indent --- src/qt/sendcoinsdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index d39f92dda..39f828501 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -22,6 +22,7 @@ #include "txmempool.h" #include "wallet/wallet.h" +#include #include #include #include @@ -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 {