File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,12 @@ MempoolDetail::MempoolDetail(QWidget* parent) : QWidget(parent)
2525 parent->installEventFilter (this );
2626 raise ();
2727 }
28- // setMouseTracking(true);
28+
29+ this ->setAutoFillBackground (true );
30+
31+ QPalette pal = this ->palette ();
32+ pal.setColor (QPalette::Window, pal.color (QPalette::Window));
33+ this ->setPalette (pal);
2934
3035 QSettings settings;
3136 m_font_size = settings.value (mempoolDetailFontSizeKey, 12 ).toReal ();
@@ -71,7 +76,7 @@ void MempoolDetail::setPlatformStyle(const PlatformStyle* platform_style)
7176 m_fee_table->setSelectionBehavior (QAbstractItemView::SelectRows);
7277 m_fee_table->setSelectionMode (QAbstractItemView::SingleSelection);
7378 m_fee_table->setAlternatingRowColors (false );
74- m_fee_table->setStyleSheet (" " );
79+ m_fee_table->setStyleSheet (" QTableView { background-color: transparent; border: 1px solid gray; border-radius: 5px; } " );
7580 m_fee_table->setSortingEnabled (true );
7681 m_fee_table->sortByColumn (m_fee_table_model->m_sort_column , m_fee_table_model->m_sort_order );
7782 m_fee_table->verticalHeader ()->setVisible (false );
You can’t perform that action at this time.
0 commit comments