I like keeping the layout code together. It does make it more readable, although perhaps the indentation could be done differently.