Adjust some layout params.