Fix header resizing on tx table

This commit is contained in:
Aditya Kulkarni
2019-07-24 13:11:54 -07:00
committed by Aditya Kulkarni
parent 1219651f76
commit 141e70a873
3 changed files with 7 additions and 2 deletions

View File

@@ -177,6 +177,11 @@ void MainWindow::restoreSavedStates() {
ui->balancesTable->horizontalHeader()->restoreState(s.value("baltablegeometry").toByteArray());
ui->transactionsTable->horizontalHeader()->restoreState(s.value("tratablegeometry").toByteArray());
// Explicitly set the tx table resize headers, since some previous values may have made them
// non-expandable.
ui->transactionsTable->horizontalHeader()->setSectionResizeMode(3, QHeaderView::Interactive);
ui->transactionsTable->horizontalHeader()->setSectionResizeMode(4, QHeaderView::Stretch);
}
void MainWindow::doClose() {