Commit adaa35aa authored by hjk's avatar hjk

QtSupport: Elide in middle of option page texts

Not eliding makes long qmake paths nasty to ready. It was intentionally
introduced to fix QTCREATORBUG-4893, but overall ElideMiddle appears
usable to me.

Change-Id: I6882e802f5ea8ca222056e4bdcd7870023889d7d
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent 7d951247
......@@ -241,7 +241,7 @@ QtOptionsPageWidget::QtOptionsPageWidget(QWidget *parent)
m_ui->qtdirList->header()->setStretchLastSection(false);
m_ui->qtdirList->header()->setSectionResizeMode(0, QHeaderView::ResizeToContents);
m_ui->qtdirList->header()->setSectionResizeMode(1, QHeaderView::Stretch);
m_ui->qtdirList->setTextElideMode(Qt::ElideNone);
m_ui->qtdirList->setTextElideMode(Qt::ElideMiddle);
m_ui->qtdirList->sortByColumn(0, Qt::AscendingOrder);
QList<int> additions = transform(QtVersionManager::versions(), &BaseQtVersion::uniqueId);
......
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