QmlDesigner: Do not resize FlowItems

Change-Id: I19d49c05b4119caa38cb554eaea57dc888835f4e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2020-06-11 19:11:04 +02:00
parent 2f66b1d49a
commit 04be31a7f3

View File

@@ -279,7 +279,8 @@ bool QmlItemNode::modelIsResizable() const
return !modelNode().hasBindingProperty("width")
&& !modelNode().hasBindingProperty("height")
&& itemIsResizable(modelNode())
&& !modelIsInLayout();
&& !modelIsInLayout()
&& !isFlowItem();
}
bool QmlItemNode::modelIsInLayout() const