Skip to content

Commit

Permalink
Removed some of the horizontal scrollbars
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus committed Jan 18, 2021
1 parent 71570ab commit a2a8881
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/app/qgsrelationmanagerdialog.cpp
Expand Up @@ -50,7 +50,6 @@ QgsRelationManagerDialog::QgsRelationManagerDialog( QgsRelationManager *relation
{
setupUi( this );

mRelationsTree->header()->setSectionResizeMode( QHeaderView::ResizeToContents );
mRelationsTree->setItemDelegate( new RelationNameEditorDelegate( QList<int>( {0} ), mRelationsTree ) );

connect( mBtnAddRelation, &QPushButton::clicked, this, &QgsRelationManagerDialog::mBtnAddRelation_clicked );
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgsrelationmanageradddialogbase.ui
Expand Up @@ -30,7 +30,7 @@
<number>1</number>
</property>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>180</number>
<number>150</number>
</attribute>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
Expand Down
4 changes: 2 additions & 2 deletions src/ui/qgsrelationmanageraddpolymorphicdialogbase.ui
Expand Up @@ -130,7 +130,7 @@
<number>0</number>
</property>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>180</number>
<number>150</number>
</attribute>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
Expand All @@ -155,7 +155,7 @@
</widget>
</item>
<item row="3" column="1" colspan="2">
<widget class="QgsFieldExpressionWidget" name="mReferencedLayerExpressionWidget" native="true"/>
<widget class="QgsFieldExpressionWidget" name="mReferencedLayerExpressionWidget"/>
</item>
<item row="6" column="0">
<widget class="QLabel" name="mRelationStrengthLabel">
Expand Down

0 comments on commit a2a8881

Please sign in to comment.