adjust some elements' layout setting.