this.addScript(function sameExtentExample() {
this.layoutSolver = new LayoutSolver();
this.child1 = this.get("Rectangle1");
this.child2 = this.get("Rectangle2");
bbb.unconstrain(this, "child1");
bbb.unconstrain(this, "child2");
bbb.unconstrain(this.child1.shape, "_Extent");
bbb.unconstrain(this.child2.shape, "_Extent");
always: { solver: this.layoutSolver
this.child1.sameExtent(this.child2)