Commit 9cee5d3b authored by Marco Bubke's avatar Marco Bubke Committed by Tim Jenssen
Browse files

QmlDesigner: Fix implicitHeight in resetVertical



Task-number: QTCREATORBUG-11542
Change-Id: Ia69a95abe42ad0c10b8d65663d252f15cf38cf02
Reviewed-by: default avatarTim Jenssen <tim.jenssen@digia.com>
parent 6ca4be0e
......@@ -503,7 +503,7 @@ void QuickItemNodeInstance::resetVertical()
if (m_height > 0.0) {
setPropertyVariant("height", m_height);
} else {
setPropertyVariant("height", quickItem()->implicitWidth());
setPropertyVariant("height", quickItem()->implicitHeight());
}
}
......
......@@ -184,7 +184,7 @@ void QmlGraphicsItemNodeInstance::resetVertical()
if (m_height > 0.0) {
setPropertyVariant("height", m_height);
} else {
setPropertyVariant("height", qmlGraphicsItem()->implicitWidth());
setPropertyVariant("height", qmlGraphicsItem()->implicitHeight());
}
}
......
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