From a24e6616c2f701896328c7cba5e6e8e76b42de1e Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Wed, 19 Oct 2022 23:01:42 +0800 Subject: [PATCH] Cabana: fix time column was being cutoff (#26156) fix time column --- tools/cabana/historylog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cabana/historylog.cc b/tools/cabana/historylog.cc index c0efbca280..a20845f15f 100644 --- a/tools/cabana/historylog.cc +++ b/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; }");