Make colors table fully auto resizing
This commit is contained in:
committed by
Leonardo Zide
parent
b31d33fd67
commit
8a89cc4920
@@ -75,9 +75,9 @@ lcQPropertiesDialog::lcQPropertiesDialog(QWidget *parent, void *data) :
|
||||
table->setHorizontalHeaderLabels(horizontalLabels);
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
|
||||
table->horizontalHeader()->setSectionResizeMode(0, QHeaderView::ResizeToContents);
|
||||
table->horizontalHeader()->setSectionResizeMode(QHeaderView::ResizeToContents);
|
||||
#else
|
||||
table->horizontalHeader()->setResizeMode(0, QHeaderView::ResizeToContents);
|
||||
table->horizontalHeader()->setResizeMode(QHeaderView::ResizeToContents);
|
||||
#endif
|
||||
|
||||
QVector<int> InfoTotals(PartsList.size());
|
||||
|
||||
Reference in New Issue
Block a user