From 894e7404013940de0f5299a9ebf79bc56afcf1f5 Mon Sep 17 00:00:00 2001 From: eelke Date: Sun, 7 Jul 2019 14:05:30 +0200 Subject: [PATCH] Close #48, Fix that table lists come up with columns to small. --- pglab/widgets/CatalogTablesPage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pglab/widgets/CatalogTablesPage.cpp b/pglab/widgets/CatalogTablesPage.cpp index 391475a..a38992d 100644 --- a/pglab/widgets/CatalogTablesPage.cpp +++ b/pglab/widgets/CatalogTablesPage.cpp @@ -105,6 +105,7 @@ void CatalogTablesPage::setCatalog(std::shared_ptr cat) void CatalogTablesPage::setNamespaceFilter(NamespaceFilter filter) { m_tablesModel->setNamespaceFilter(filter); + m_tableView->resizeColumnsToContents(); } void CatalogTablesPage::tableListTable_currentRowChanged(const QModelIndex ¤t, const QModelIndex &previous)