Adjust layout.