diff --git a/src/qt/forms/voting/pollcard.ui b/src/qt/forms/voting/pollcard.ui
index 112505846d..2bad4f8d81 100644
--- a/src/qt/forms/voting/pollcard.ui
+++ b/src/qt/forms/voting/pollcard.ui
@@ -298,6 +298,13 @@
+ -
+
+
+ Stale
+
+
+
-
diff --git a/src/qt/res/stylesheets/dark_stylesheet.qss b/src/qt/res/stylesheets/dark_stylesheet.qss
index 4290e39ed7..6dde9b1ddf 100644
--- a/src/qt/res/stylesheets/dark_stylesheet.qss
+++ b/src/qt/res/stylesheets/dark_stylesheet.qss
@@ -994,6 +994,14 @@ PollCard #invalidLabel {
color: rgb(150, 0, 0);
}
+PollCard #staleLabel {
+ border: 0.065em solid rgb(240, 0, 0);
+ border-radius: 0.65em;
+ padding: 0.1em 0.3em;
+ color: rgb(255, 255, 255);
+ background-color: rgb(240, 0, 0);
+}
+
PollCard #remainingLabel,
PollResultChoiceItem #percentageLabel,
PollResultChoiceItem #weightLabel,
diff --git a/src/qt/res/stylesheets/light_stylesheet.qss b/src/qt/res/stylesheets/light_stylesheet.qss
index 9d2a6e32b0..a81de84aba 100644
--- a/src/qt/res/stylesheets/light_stylesheet.qss
+++ b/src/qt/res/stylesheets/light_stylesheet.qss
@@ -969,6 +969,14 @@ PollCard #invalidLabel {
color: rgb(150, 0, 0);
}
+PollCard #staleLabel {
+ border: 0.065em solid rgb(240, 0, 0);
+ border-radius: 0.65em;
+ padding: 0.1em 0.3em;
+ color: rgb(255, 255, 255);
+ background-color: rgb(240, 0, 0);
+}
+
PollCard #remainingLabel,
PollResultChoiceItem #percentageLabel,
PollResultChoiceItem #weightLabel,
diff --git a/src/qt/voting/pollcard.cpp b/src/qt/voting/pollcard.cpp
index b08df8c9e6..6680209bdd 100644
--- a/src/qt/voting/pollcard.cpp
+++ b/src/qt/voting/pollcard.cpp
@@ -83,6 +83,12 @@ PollCard::PollCard(const PollItem& poll_item, QWidget* parent)
ui->invalidLabel->show();
}
+ if (poll_item.m_stale) {
+ ui->staleLabel->show();
+ } else {
+ ui->staleLabel->hide();
+ }
+
ui->topAnswerLabel->setText(poll_item.m_top_answer);
if (!poll_item.m_finished) {