Cabana: setSectionResizeMode to QHeaderView::Fixed (#26655)

fixed header
old-commit-hash: 74c0ac3dec
taco
Dean Lee 3 years ago committed by GitHub
parent d00e7ee24b
commit 9363f6fb04
  1. 1
      tools/cabana/binaryview.cc

@ -23,6 +23,7 @@ BinaryView::BinaryView(QWidget *parent) : QTableView(parent) {
setItemDelegate(delegate);
horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
verticalHeader()->setSectionsClickable(false);
verticalHeader()->setSectionResizeMode(QHeaderView::Fixed);
horizontalHeader()->hide();
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);

Loading…
Cancel
Save