The relateToParent function enables you to create a set of nested elements
where resizing a specific element causes its nested elements to react to
this by for instance resizing and repositioning itself accordingly. Note that
a lot can be achieved without this just by using css.
Use the buttons below to alter the outer area's dimensions.
set:
width 500 -
width 256 -
height 500 -
height 256 -
width & height 100