Please tell me there is a better solution than this:
/* in GenericNew.qml */
onChildrenChanged: {
for(var ii = 0; ii < children.length; ++ii) {
if(children[ii].objectName.search("attr-")>=0) {
console.log(children[ii])
children[ii].Layout.fillWidth = true
}
}
}
↧