Skip to content
Permalink
Browse files

Remove oversized margin of the Container properties frame

in drag-and-drop mode of attribute forms, harmonizing with fields properties
  • Loading branch information
DelazJ authored and nyalldawson committed Feb 28, 2020
1 parent 74a5469 commit ef0f421cccba19a5cd38ce0de45777a9bef09b6d
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgsattributesformproperties.cpp
@@ -446,7 +446,8 @@ void QgsAttributesFormProperties::loadAttributeContainerEdit()

QTreeWidgetItem *currentItem = mFormLayoutTree->selectedItems().at( 0 );
mAttributeContainerEdit = new QgsAttributeFormContainerEdit( currentItem, this );
mAttributeTypeFrame->layout()->setMargin( 0 );
mAttributeContainerEdit->layout()->setContentsMargins( 0, 0, 0, 0 );
mAttributeTypeFrame->layout()->setContentsMargins( 0, 0, 0, 0 );
mAttributeTypeFrame->layout()->addWidget( mAttributeContainerEdit );
}

0 comments on commit ef0f421

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