cabana: reduce minimum size (#30223)

reduce minimumsize
old-commit-hash: 818d29818fcb54f84e8fbb366fbe6913c70be2b9
This commit is contained in:
Dean Lee
2023-10-13 02:09:32 +08:00
committed by GitHub
parent 4ec199f1c1
commit e785de4166
6 changed files with 23 additions and 11 deletions
+1
View File
@@ -24,6 +24,7 @@ BinaryView::BinaryView(QWidget *parent) : QTableView(parent) {
delegate = new BinaryItemDelegate(this);
setItemDelegate(delegate);
horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
horizontalHeader()->setFont(QFontDatabase::systemFont(QFontDatabase::FixedFont));
verticalHeader()->setSectionsClickable(false);
verticalHeader()->setSectionResizeMode(QHeaderView::Fixed);
verticalHeader()->setDefaultSectionSize(CELL_HEIGHT);