Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 Mar 5, 2020
1 parent 74a5469 commit ef0f421
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsattributesformproperties.cpp
Expand Up @@ -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 );
}

Expand Down

0 comments on commit ef0f421

Please sign in to comment.