add style to layout