Understanding on affectedByScale in cc.Layout

Understanding on affectedByScale in cc.Layout
0

#1

I have a question regarding the affectedByScale in cc.Layout. Does it affect the width (property value) of the node after scaling its child nodes?

this.node.children.map(child => {
    if (child.scaleX + 0.1 < 2.5 && child.scaleX + 0.1 > 0.7) {
       child.width += 1;
   } 
})