adjust the style of some UI components