diff --git a/avogadro/qtplugins/propertytables/propertytables.cpp b/avogadro/qtplugins/propertytables/propertytables.cpp index 1decb0e7d6..cdcf2e6d9d 100644 --- a/avogadro/qtplugins/propertytables/propertytables.cpp +++ b/avogadro/qtplugins/propertytables/propertytables.cpp @@ -145,6 +145,7 @@ void PropertyTables::showDialog() view->setSourceModel(model); view->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); + view->horizontalHeader()->setStretchLastSection(true); view->resizeColumnsToContents(); layout->addWidget(view); dialog->setWindowTitle(view->windowTitle());