fix(gui): hide vertical header in Masternode and Governance tables

This commit is contained in:
UdjinM6 2023-09-29 15:21:43 +03:00
parent c034ff0c26
commit ad0c0eb591
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9
2 changed files with 2 additions and 0 deletions

View File

@ -304,6 +304,7 @@ GovernanceList::GovernanceList(QWidget* parent) :
ui->govTableView->setModel(proposalModelProxy);
ui->govTableView->setSelectionBehavior(QAbstractItemView::SelectRows);
ui->govTableView->horizontalHeader()->setStretchLastSection(true);
ui->govTableView->verticalHeader()->setVisible(false);
for (int i = 0; i < proposalModel->columnCount(); ++i) {
ui->govTableView->setColumnWidth(i, proposalModel->columnWidth(i));

View File

@ -78,6 +78,7 @@ MasternodeList::MasternodeList(QWidget* parent) :
ui->tableWidgetMasternodesDIP3->setColumnHidden(COLUMN_PROTX_HASH, true);
ui->tableWidgetMasternodesDIP3->setContextMenuPolicy(Qt::CustomContextMenu);
ui->tableWidgetMasternodesDIP3->verticalHeader()->setVisible(false);
ui->checkBoxMyMasternodesOnly->setEnabled(false);