Skip to content
Permalink
Browse files

Merge pull request #2259 from elpaso/hidpi-improvements4

Scale attribute table cells to content
  • Loading branch information
m-kuhn committed Aug 19, 2015
2 parents d5d7c58 + ff15e84 commit ddda7d4d77e7f4a5db9649c5570ede0b00f19987
@@ -85,6 +85,8 @@ void QgsDualView::init( QgsVectorLayer* layer, QgsMapCanvas* mapCanvas, const Qg
else
columnBoxInit();

mTableView->resizeColumnsToContents();

mFeatureList->setEditSelection( QgsFeatureIds() << mFeatureListModel->idxToFid( mFeatureListModel->index( 0, 0 ) ) );
}

@@ -13,8 +13,8 @@
* *
***************************************************************************/

#ifndef QGSFEATURELIST_H
#define QGSFEATURELIST_H
#ifndef QGSDUALVIEW_H
#define QGSDUALVIEW_H

#include <QStackedWidget>

@@ -271,4 +271,4 @@ class GUI_EXPORT QgsAttributeTableMapLayerAction : public QAction
QModelIndex mFieldIdx;
};

#endif // QGSFEATURELIST_H
#endif // QGSDUALVIEW_H
@@ -13,8 +13,8 @@
* *
***************************************************************************/

#ifndef QGSATTRIBUTELISTVIEW_H
#define QGSATTRIBUTELISTVIEW_H
#ifndef QGSFEATURELISTVIEW_H
#define QGSFEATURELISTVIEW_H

#include <QListView>
#include <qdebug.h>

0 comments on commit ddda7d4

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