Skip to content

Commit 7c80063

Browse files
committed
Merge branch 'master' of github.com:qgis/Quantum-GIS
2 parents 2b34ae5 + 9b0c455 commit 7c80063

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

src/app/qgsfieldsproperties.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,7 @@ void QgsFieldsProperties::loadRows()
318318
mAttributesList->setHorizontalHeaderItem( attrWFSCol, new QTableWidgetItem( "WFS" ) );
319319
mAttributesList->setHorizontalHeaderItem( attrAliasCol, new QTableWidgetItem( tr( "Alias" ) ) );
320320

321-
mAttributesList->horizontalHeader()->setResizeMode( 1, QHeaderView::Stretch );
322-
mAttributesList->horizontalHeader()->setResizeMode( 7, QHeaderView::Stretch );
321+
mAttributesList->setSortingEnabled( true );
323322
mAttributesList->setSelectionBehavior( QAbstractItemView::SelectRows );
324323
mAttributesList->setSelectionMode( QAbstractItemView::ExtendedSelection );
325324
mAttributesList->verticalHeader()->hide();

src/ui/qgsvectorlayerpropertiesbase.ui

+10-6
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,9 @@
257257
<string>Fields</string>
258258
</attribute>
259259
<layout class="QGridLayout" name="mFieldsGridLayout">
260+
<property name="margin">
261+
<number>0</number>
262+
</property>
260263
<item row="0" column="0">
261264
<widget class="QFrame" name="mFieldsFrame">
262265
<property name="frameShape">
@@ -297,8 +300,8 @@
297300
<rect>
298301
<x>0</x>
299302
<y>0</y>
300-
<width>906</width>
301-
<height>720</height>
303+
<width>914</width>
304+
<height>746</height>
302305
</rect>
303306
</property>
304307
<layout class="QGridLayout" name="gridLayout_3">
@@ -796,8 +799,8 @@ p, li { white-space: pre-wrap; }
796799
<rect>
797800
<x>0</x>
798801
<y>0</y>
799-
<width>866</width>
800-
<height>688</height>
802+
<width>896</width>
803+
<height>728</height>
801804
</rect>
802805
</property>
803806
<layout class="QVBoxLayout" name="verticalLayout">
@@ -908,8 +911,8 @@ p, li { white-space: pre-wrap; }
908911
<rect>
909912
<x>0</x>
910913
<y>0</y>
911-
<width>866</width>
912-
<height>688</height>
914+
<width>896</width>
915+
<height>728</height>
913916
</rect>
914917
</property>
915918
<layout class="QGridLayout" name="gridLayout_17">
@@ -1017,6 +1020,7 @@ p, li { white-space: pre-wrap; }
10171020
</tabstops>
10181021
<resources>
10191022
<include location="../../images/images.qrc"/>
1023+
<include location="../../images/images.qrc"/>
10201024
</resources>
10211025
<connections>
10221026
<connection>

0 commit comments

Comments
 (0)