diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index ebcde1c..2f02aea 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -81,7 +81,7 @@ MainWindow::MainWindow(const QDir &definitionDirectory, const QDir &assetDirecto verticalHeader->setSectionResizeMode(QHeaderView::ResizeToContents); QHeaderView *horizontalHeader = pieceListView->horizontalHeader(); - horizontalHeader->setSectionResizeMode(QHeaderView::ResizeToContents); + horizontalHeader->setSectionResizeMode(QHeaderView::Stretch); connect(pieceListView, &QListView::clicked, this, [this, assetDirectory](const QModelIndex index) { const QString filename = index.data(Qt::UserRole + 1).toString();