added some padding to control panel and resource view