Commit d349e23a authored by Marco Bubke's avatar Marco Bubke Committed by Thomas Hartmann
Browse files

QmlDesigner: Use bounding rectangle instead of painted rectangle

Otherwise text items are to small.

Change-Id: Icafbebba6fcc749d0a5a1f5c0bf1dc05bf9f3474
Reviewed-by: default avatarThomas Hartmann <>
parent d1fa28e7
......@@ -89,7 +89,7 @@ QRectF FormEditorItem::boundingRect() const
void FormEditorItem::updateGeometry()
m_boundingRect = qmlItemNode().instancePaintedBoundingRect().adjusted(0, 0, 1., 1.);
m_boundingRect = qmlItemNode().instanceBoundingRect().adjusted(0, 0, 1., 1.);
setTransform(m_attentionTransform, true);
//the property for zValue is called z in QGraphicsObject
Supports Markdown
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