mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Make colors table fully auto resizing
This commit is contained in:
parent
b31d33fd67
commit
8a89cc4920
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue