Skip to content
Permalink
Browse files

Auto resize first column in info tool

  • Loading branch information
NathanW2 committed Jul 3, 2017
1 parent 6307bc4 commit 502efd1bf5cbb5bf065e5c3ac2816c69e22fe806
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgsidentifyresultsdialog.cpp
@@ -447,6 +447,8 @@ void QgsIdentifyResultsDialog::addFeature( const QgsMapToolIdentify::IdentifyRes
void QgsIdentifyResultsDialog::addFeature( QgsVectorLayer *vlayer, const QgsFeature &f, const QMap<QString, QString> &derivedAttributes )
{
QTreeWidgetItem *layItem = layerItem( vlayer );
lstResults->header()->setResizeMode( QHeaderView::ResizeToContents );
lstResults->header()->setStretchLastSection( false );

if ( !layItem )
{

0 comments on commit 502efd1

Please sign in to comment.
You can’t perform that action at this time.