Commit 9b998d42 authored by Daniel Teske's avatar Daniel Teske

QtVersionDialog: Tweak column resizing behavior

Task-number: QTCREATORBUG-11382
Change-Id: I8cfb94f1abc64d0a9306dc9408edff86c39d10c5
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 336a71fb
......@@ -136,8 +136,9 @@ QtOptionsPageWidget::QtOptionsPageWidget(QWidget *parent)
this, SLOT(setInfoWidgetVisibility()));
// setup parent items for auto-detected and manual versions
m_ui->qtdirList->header()->setResizeMode(QHeaderView::ResizeToContents);
m_ui->qtdirList->header()->setStretchLastSection(false);
m_ui->qtdirList->header()->setResizeMode(0, QHeaderView::ResizeToContents);
m_ui->qtdirList->header()->setResizeMode(1, QHeaderView::Stretch);
m_ui->qtdirList->setTextElideMode(Qt::ElideNone);
m_autoItem = new QTreeWidgetItem(m_ui->qtdirList);
m_autoItem->setText(0, tr("Auto-detected"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment