forked from qt-creator/qt-creator
QmlDesigner.Puppet: define default values for Layout attached properties
Change-Id: Id81ad808e826813334c6f157331c21fe51dfe69c Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
bc2424c3c6
commit
e02a9433dd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user