Title: Automatic generation of spatial configurations in user interfaces