Putting the right layout into the Rows