Commit b21f7ca7 authored by Marco Bubke's avatar Marco Bubke

QmlDesigner.Test: Default size is zero

I'm a little bit unsure about that.

Change-Id: I9f319b11b494c5101a3e6ed59543067b9b4052f1
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent 7267aa16
......@@ -6146,9 +6146,9 @@ void tst_TestCore::testModelBindings()
QCOMPARE(rootModelNode.allDirectSubModelNodes().count(), 0);
NodeInstance rootInstance = nodeInstanceView->instanceForNode(rootModelNode);
// default width/height is forced to 100
QCOMPARE(rootInstance.size().width(), 100.0);
QCOMPARE(rootInstance.size().height(), 100.0);
// default width/height is 0
QCOMPARE(rootInstance.size().width(), 0.0);
QCOMPARE(rootInstance.size().height(), 0.0);
rootModelNode.variantProperty("width") = 200;
rootModelNode.variantProperty("height") = 100;
......
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