Skip to content

Commit

Permalink
remove space after form reserved for invisible group headers
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasMizera authored and sklencar committed Mar 22, 2021
1 parent 899c849 commit ac412b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qgsquick/from_qgis/plugin/qgsquickfeatureform.qml
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,8 @@ Item {
Item {
id: fieldContainer
visible: Type === 'field'
height: childrenRect.height
// We also need to set height to zero if Type is not field otherwise children created blank space in form
height: Type === 'field' ? childrenRect.height : 0

anchors {
left: parent.left
Expand Down

0 comments on commit ac412b8

Please sign in to comment.