diff --git a/data/cleanlook/style.css b/data/cleanlook/style.css index 66bda49b..eda21177 100644 --- a/data/cleanlook/style.css +++ b/data/cleanlook/style.css @@ -94,7 +94,7 @@ MiniWindow QPushButton { color: #333; } -#history::item +#history { color: #888; } diff --git a/lib/gui_qt.py b/lib/gui_qt.py index 077e8736..3116c0a8 100644 --- a/lib/gui_qt.py +++ b/lib/gui_qt.py @@ -599,6 +599,8 @@ class ElectrumWindow(QMainWindow): item.setFont(2, QFont(MONOSPACE_FONT)) item.setFont(3, QFont(MONOSPACE_FONT)) item.setFont(4, QFont(MONOSPACE_FONT)) + if value < 0: + item.setForeground(3, QBrush(QColor("#BC1E1E"))) if tx_hash: item.setToolTip(0, tx_hash) if is_default_label: diff --git a/lib/history_widget.py b/lib/history_widget.py index f04d1e7e..2ca9a5dd 100644 --- a/lib/history_widget.py +++ b/lib/history_widget.py @@ -20,5 +20,7 @@ class HistoryWidget(QTreeWidget): if date is None: date = "Unknown" item = QTreeWidgetItem([amount, address, date]) + if float(amount) < 0: + item.setForeground(0, QBrush(QColor("#BC1E1E"))) self.insertTopLevelItem(0, item)