Cabana: fix time column was being cutoff (#26156)

fix time column
old-commit-hash: a24e6616c2
taco
Dean Lee 3 years ago committed by GitHub
parent 70249fae14
commit fc4d06777c
  1. 2
      tools/cabana/historylog.cc

@ -70,7 +70,7 @@ HistoryLog::HistoryLog(QWidget *parent) : QWidget(parent) {
table = new QTableView(this);
table->setModel(model);
table->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
table->horizontalHeader()->setSectionResizeMode(0, QHeaderView::Fixed);
table->horizontalHeader()->setSectionResizeMode(0, QHeaderView::ResizeToContents);
table->setColumnWidth(0, 60);
table->verticalHeader()->setVisible(false);
table->setStyleSheet("QTableView::item { border:0px; padding-left:5px; padding-right:5px; }");

Loading…
Cancel
Save