Correct Strings column resizing

This commit is contained in:
Brandon 2021-07-13 20:46:59 -05:00
parent 2d7b6d15c0
commit 9d7c5b40d5

View File

@ -214,10 +214,8 @@ StringsWidget::StringsWidget(MainWindow *main)
});
auto header = ui->stringsTreeView->header();
header->setSectionResizeMode(QHeaderView::ResizeMode::ResizeToContents);
header->setSectionResizeMode(StringsModel::StringColumn, QHeaderView::ResizeMode::Stretch);
header->setStretchLastSection(false);
header->setResizeContentsPrecision(256);
header->setSectionResizeMode(QHeaderView::ResizeMode::Interactive);
header->resizeSections(QHeaderView::ResizeMode::Stretch);
}
StringsWidget::~StringsWidget() {}