Merge layouts