mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-20 11:28:51 +00:00
Correct Strings column resizing
This commit is contained in:
parent
2d7b6d15c0
commit
9d7c5b40d5
@ -214,10 +214,8 @@ StringsWidget::StringsWidget(MainWindow *main)
|
|||||||
});
|
});
|
||||||
|
|
||||||
auto header = ui->stringsTreeView->header();
|
auto header = ui->stringsTreeView->header();
|
||||||
header->setSectionResizeMode(QHeaderView::ResizeMode::ResizeToContents);
|
header->setSectionResizeMode(QHeaderView::ResizeMode::Interactive);
|
||||||
header->setSectionResizeMode(StringsModel::StringColumn, QHeaderView::ResizeMode::Stretch);
|
header->resizeSections(QHeaderView::ResizeMode::Stretch);
|
||||||
header->setStretchLastSection(false);
|
|
||||||
header->setResizeContentsPrecision(256);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
StringsWidget::~StringsWidget() {}
|
StringsWidget::~StringsWidget() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user