We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e4d7bf commit 7abe7bbCopy full SHA for 7abe7bb
src/qt/sendcoinsdialog.cpp
@@ -22,6 +22,7 @@
22
#include "txmempool.h"
23
#include "wallet/wallet.h"
24
25
+#include <QFontMetrics>
26
#include <QMessageBox>
27
#include <QScrollBar>
28
#include <QSettings>
@@ -659,6 +660,7 @@ void SendCoinsDialog::updateSmartFeeLabel()
659
660
int lightness = ui->fallbackFeeWarningLabel->palette().color(QPalette::WindowText).lightness();
661
QColor warning_colour(255 - (lightness / 5), 176 - (lightness / 3), 48 - (lightness / 14));
662
ui->fallbackFeeWarningLabel->setStyleSheet("QLabel { color: " + warning_colour.name() + "; }");
663
+ ui->fallbackFeeWarningLabel->setIndent(QFontMetrics(ui->fallbackFeeWarningLabel->font()).width("x"));
664
}
665
else
666
{
0 commit comments