Adjust layout alignment