Setting layout.