[QGIS Commit] r14664 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sun Nov 14 17:44:56 EST 2010
Author: timlinux
Date: 2010-11-14 14:44:56 -0800 (Sun, 14 Nov 2010)
New Revision: 14664
Modified:
trunk/qgis/src/app/qgsvectorlayerproperties.cpp
Log:
Stretch table column in attribute list
Modified: trunk/qgis/src/app/qgsvectorlayerproperties.cpp
===================================================================
--- trunk/qgis/src/app/qgsvectorlayerproperties.cpp 2010-11-14 22:21:47 UTC (rev 14663)
+++ trunk/qgis/src/app/qgsvectorlayerproperties.cpp 2010-11-14 22:44:56 UTC (rev 14664)
@@ -171,6 +171,7 @@
tblAttributes->setHorizontalHeaderItem( attrEditTypeCol, new QTableWidgetItem( tr( "Edit widget" ) ) );
tblAttributes->setHorizontalHeaderItem( attrAliasCol, new QTableWidgetItem( tr( "Alias" ) ) );
+ tblAttributes->horizontalHeader()->setResizeMode(1,QHeaderView::Stretch);
tblAttributes->setSelectionBehavior( QAbstractItemView::SelectRows );
tblAttributes->setSelectionMode( QAbstractItemView::MultiSelection );
More information about the QGIS-commit
mailing list