resizable all columns

This commit is contained in:
Martin Rotter 2021-09-30 13:12:04 +02:00
parent 838d85f829
commit 93ea31107f

View File

@ -729,10 +729,6 @@ void MessagesView::adjustColumns() {
}
header()->setSectionResizeMode(MSG_DB_TITLE_INDEX, QHeaderView::ResizeMode::Stretch);
header()->setSectionResizeMode(MSG_DB_READ_INDEX, QHeaderView::ResizeMode::ResizeToContents);
header()->setSectionResizeMode(MSG_DB_IMPORTANT_INDEX, QHeaderView::ResizeMode::ResizeToContents);
header()->setSectionResizeMode(MSG_DB_SCORE_INDEX, QHeaderView::ResizeMode::ResizeToContents);
header()->setSectionResizeMode(MSG_DB_HAS_ENCLOSURES, QHeaderView::ResizeMode::ResizeToContents);
// Hide columns.
hideColumn(MSG_DB_ID_INDEX);