Skip to content

Commit 2d55695

Browse files
committed
more fee_table styling
1 parent 4c1c8d9 commit 2d55695

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/qt/mempooldetail.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ void MempoolDetail::setPlatformStyle(const PlatformStyle* platform_style)
7474
m_fee_table->setStyleSheet("");
7575
m_fee_table->setSortingEnabled(true);
7676
m_fee_table->sortByColumn(m_fee_table_model->m_sort_column, m_fee_table_model->m_sort_order);
77-
m_fee_table->verticalHeader()->setVisible(true);
77+
m_fee_table->verticalHeader()->setVisible(false);
7878

7979
QHeaderView* m_fee_table_header = m_fee_table->horizontalHeader();
80-
m_fee_table_header->resizeSection(MempoolFeeTableModel::FeeRange, 100);
80+
m_fee_table_header->resizeSection(MempoolFeeTableModel::FeeRange, 100);// fits default width
8181
m_fee_table_header->resizeSection(MempoolFeeTableModel::TxCount, 35);
8282
m_fee_table_header->resizeSection(MempoolFeeTableModel::TotalSize, 55);
8383
m_fee_table_header->resizeSection(MempoolFeeTableModel::TotalWeight, 50);

src/qt/mempoolfeetables.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ void MempoolFeeTableModel::updateModel(const std::vector<interfaces::mempool_fee
184184
m_fee_data.clear();
185185
m_fee_data.reserve(fee_info.size());
186186
for (const auto& entry : fee_info) {
187-
// Hide fee levels above the 1699-1999 sat/vB range if they have 0 transactions
188-
if (entry.fee_from >= 2000 && entry.tx_count == 0) {
187+
// Hide fee levels if they have 0 transactions
188+
if (entry.tx_count == 0) {
189189
continue;
190190
}
191191
m_fee_data.append(entry);

0 commit comments

Comments
 (0)