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

fix time column
old-commit-hash: a24e6616c2f701896328c7cba5e6e8e76b42de1e
This commit is contained in:
Dean Lee
2022-10-19 23:01:42 +08:00
committed by GitHub
parent 70249fae14
commit fc4d06777c
+1 -1
View File
@@ -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; }");