Placing adaptive components without intersections or clashes!

@praktikant See if you can tweak this other old post to suit your requirement