Commit e02a9433 authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Thomas Hartmann

QmlDesigner.Puppet: define default values for Layout attached properties

Change-Id: Id81ad808e826813334c6f157331c21fe51dfe69c
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent bc2424c3
......@@ -1262,6 +1262,11 @@ void ObjectNodeInstance::populateResetHashes()
m_resetValueHash.insert(propertyName, property.read());
}
}
m_resetValueHash.insert("Layout.rowSpan", 1);
m_resetValueHash.insert("Layout.columnSpan", 1);
m_resetValueHash.insert("Layout.fillHeight", false);
m_resetValueHash.insert("Layout.fillWidth", false);
}
QQmlAbstractBinding *ObjectNodeInstance::resetBinding(const PropertyName &propertyName) const
......
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