Update some layout params.