added main panel text padding feature