Simplify Widget ContentSize cascade change algorithm
Merge pull request #7588 from Dhilan007/v3

fix warn
Merge pull request #7590 from andyque/fixWidgetContentSize

Simplify Widget ContentSize cascade change algorithm