Video: Automatic Adaptive Layouts With Constraints