setted a style to the Bar