adjust layout of part