mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 02:52:04 +08:00
cabana: remove the hardcoded width for columns (#27185)
old-commit-hash: 6b04ead6dd8fc89540c9d0000a2aa262c6b420e1
This commit is contained in:
@@ -26,9 +26,6 @@ MessagesWidget::MessagesWidget(QWidget *parent) : QWidget(parent) {
|
||||
table_widget->setSelectionMode(QAbstractItemView::SingleSelection);
|
||||
table_widget->setSortingEnabled(true);
|
||||
table_widget->sortByColumn(0, Qt::AscendingOrder);
|
||||
table_widget->setColumnWidth(0, 250);
|
||||
table_widget->setColumnWidth(1, 80);
|
||||
table_widget->setColumnWidth(2, 80);
|
||||
table_widget->horizontalHeader()->setStretchLastSection(true);
|
||||
table_widget->verticalHeader()->hide();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user