Skip to content

Commit

Permalink
Fixup to make sure columns expand properly
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Dec 3, 2024
1 parent fd94c68 commit d4dcec0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions avogadro/qtplugins/propertytables/propertytables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit d4dcec0

Please sign in to comment.