QmlDesigner: Fix form editor margins

Change-Id: I3ab1966885f43b1aafb835f44f743119ce7baf02
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2023-02-03 19:39:31 +01:00
committed by Henning Gründl
parent e5a930d2ca
commit 4e8e18f103

View File

@@ -58,7 +58,7 @@ FormEditorWidget::FormEditorWidget(FormEditorView *view)
m_context->setWidget(this); m_context->setWidget(this);
auto fillLayout = new QVBoxLayout(this); auto fillLayout = new QVBoxLayout(this);
fillLayout->setContentsMargins(4, 0, 4, 0); fillLayout->setContentsMargins(0, 0, 0, 0);
fillLayout->setSpacing(0); fillLayout->setSpacing(0);
setLayout(fillLayout); setLayout(fillLayout);