Commit 586acac6 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: remove margins instead of setting to 0

parent 87212f06
......@@ -514,10 +514,10 @@ void QmlAnchorBindingProxy::fill()
setHorizontalCentered(false);
setVerticalCentered(false);
m_fxItemNode.anchors().setMargin(AnchorLine::Right, 0);
m_fxItemNode.anchors().setMargin(AnchorLine::Left, 0);
m_fxItemNode.anchors().setMargin(AnchorLine::Top, 0);
m_fxItemNode.anchors().setMargin(AnchorLine::Bottom, 0);
m_fxItemNode.anchors().removeMargin(AnchorLine::Right);
m_fxItemNode.anchors().removeMargin(AnchorLine::Left);
m_fxItemNode.anchors().removeMargin(AnchorLine::Top);
m_fxItemNode.anchors().removeMargin(AnchorLine::Bottom);
emit topAnchorChanged();
emit bottomAnchorChanged();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment