adding style to the widgets