mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 16:26:14 +08:00
Cabana: fix time column was being cutoff (#26156)
fix time column
old-commit-hash: a24e6616c2
This commit is contained in:
@@ -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; }");
|
||||
|
||||
Reference in New Issue
Block a user