forked from qt-creator/qt-creator
Navigation Tree View: Fix width of column
We want to have the width both to be at least the contents size but also stretch to width of the viewport. Reviewed-By: con
This commit is contained in:
@@ -116,7 +116,6 @@ ProjectTreeWidget::ProjectTreeWidget(QWidget *parent)
|
||||
this, SLOT(filesAboutToBeRemoved(FolderNode *, const QList<FileNode*> &)));
|
||||
|
||||
m_view = new ProjectTreeView;
|
||||
m_view->header()->setStretchLastSection(true);
|
||||
m_view->setModel(m_model);
|
||||
setFocusProxy(m_view);
|
||||
initView();
|
||||
|
||||
Reference in New Issue
Block a user